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:
@@ -11,5 +11,5 @@ COPY package*.json ./
|
||||
RUN npm ci --omit=dev
|
||||
COPY --from=base /app/.next ./.next
|
||||
COPY --from=base /app/public ./public
|
||||
EXPOSE 5000
|
||||
EXPOSE 3000
|
||||
CMD ["npm", "start"]
|
||||
Reference in New Issue
Block a user