update Dockerfile
This commit is contained in:
parent
d9327f48f4
commit
5567f31ee4
|
@ -26,7 +26,7 @@ RUN yarn build
|
|||
#Stage 2
|
||||
|
||||
FROM nginx:1.20-alpine
|
||||
COPY --from=build-deps /usr/src/app/build /var/www
|
||||
COPY --from=build-deps /usr/src/app/public /var/www
|
||||
COPY default.conf /etc/nginx/templates/default.conf.template
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
|
Reference in New Issue