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