Fixed dockerfile
This commit is contained in:
parent
ebc7d2451d
commit
c257b40700
@ -23,6 +23,6 @@ RUN BUILD_MODE=$([ "$NODE_ENV" = "prod" ] && echo "dynmaic-prod" || echo "dynami
|
|||||||
# Use Nginx to serve
|
# Use Nginx to serve
|
||||||
FROM nginx:1.20-alpine
|
FROM nginx:1.20-alpine
|
||||||
COPY --from=build /app/dist /usr/share/nginx/html
|
COPY --from=build /app/dist /usr/share/nginx/html
|
||||||
COPY docker/config/robots.txt /usr/share/nginx/html/robots.txt
|
COPY docker/robots.txt /usr/share/nginx/html/robots.txt
|
||||||
COPY docker/config/nginx.conf /etc/nginx/nginx.conf
|
COPY docker/nginx.conf /etc/nginx/nginx.conf
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
Loading…
Reference in New Issue
Block a user