Changing port
This commit is contained in:
@@ -37,7 +37,7 @@ RUN npm install -g serve
|
||||
COPY --from=build /app/dist ./dist
|
||||
COPY serve.json ./dist
|
||||
|
||||
# Expose the port you want for production (e.g., 3000 or 80)
|
||||
EXPOSE 3000
|
||||
# Expose the port you want for production (e.g., 3000)
|
||||
EXPOSE 5000
|
||||
|
||||
CMD ["serve", "dist", "-l", "3000", "--config", "serve.json"]
|
||||
CMD ["serve", "dist", "-l", "5000", "--config", "serve.json"]
|
||||
Reference in New Issue
Block a user