fix: align ports and docker config
This commit is contained in:
@@ -11,7 +11,9 @@ COPY ./frontend .
|
||||
# Build the app
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE 5173
|
||||
RUN npm install -g serve
|
||||
|
||||
# Serve built app (no hot reload)
|
||||
CMD ["npm", "run", "preview", "--", "--host", "0.0.0.0"]
|
||||
EXPOSE 3000
|
||||
|
||||
# Serve built app
|
||||
CMD ["serve", "-s", "dist"]
|
||||
@@ -21,4 +21,4 @@ EXPOSE 5000
|
||||
ENTRYPOINT [ "entrypoint.sh" ]
|
||||
|
||||
# This '$@' will be replaced by the CMD
|
||||
CMD ["npm", "run", "dev"]
|
||||
CMD ["npm", "start"]
|
||||
Reference in New Issue
Block a user