add environment for production
This commit is contained in:
@ -35,6 +35,6 @@ COPY --from=base /public /public
|
||||
# Expose required port
|
||||
# CMD ["npm", "run", "start"]
|
||||
FROM nginx:alpine
|
||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
||||
COPY --from=base /app/dist /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
Reference in New Issue
Block a user