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"]
|
||||
Reference in New Issue
Block a user