Change the port mapping to ${FRONTEND_PORT}:3000 so the container always uses 3000 internally but maps to a different host port.

This commit is contained in:
2026-02-19 12:17:18 +09:00
parent c32d5c9977
commit 827b0bb6d5
3 changed files with 3 additions and 3 deletions

View File

@@ -10,5 +10,5 @@ WORKDIR /app
COPY package*.json ./
RUN npm ci --omit=dev
COPY --from=base /app/dist ./dist
EXPOSE 5001
EXPOSE 3001
CMD ["node", "dist/src/main.js"]