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