repaired nextJS dockerfiles
This commit is contained in:
@@ -74,9 +74,6 @@ COPY --from=installer --chown=nextjs:nodejs /usr/app/apps/dispatch/public ./apps
|
|||||||
USER nextjs
|
USER nextjs
|
||||||
|
|
||||||
# Expose the application port
|
# Expose the application port
|
||||||
EXPOSE 3001
|
EXPOSE 3000
|
||||||
|
|
||||||
ENV PORT=3001
|
|
||||||
ENV HOSTNAME="0.0.0.0"
|
|
||||||
|
|
||||||
CMD ["node", "apps/dispatch/server.js"]
|
CMD ["node", "apps/dispatch/server.js"]
|
||||||
@@ -67,7 +67,4 @@ USER nextjs
|
|||||||
# Expose the application port
|
# Expose the application port
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
ENV PORT=3000
|
|
||||||
ENV HOSTNAME="0.0.0.0"
|
|
||||||
|
|
||||||
CMD ["node", "apps/hub/server.js"]
|
CMD ["node", "apps/hub/server.js"]
|
||||||
Reference in New Issue
Block a user