Fixed dockerfile

This commit is contained in:
Zakary Timson 2022-09-14 22:15:09 -04:00
parent ebc7d2451d
commit c257b40700

View File

@ -23,6 +23,6 @@ RUN BUILD_MODE=$([ "$NODE_ENV" = "prod" ] && echo "dynmaic-prod" || echo "dynami
# Use Nginx to serve
FROM nginx:1.20-alpine
COPY --from=build /app/dist /usr/share/nginx/html
COPY docker/config/robots.txt /usr/share/nginx/html/robots.txt
COPY docker/config/nginx.conf /etc/nginx/nginx.conf
COPY docker/robots.txt /usr/share/nginx/html/robots.txt
COPY docker/nginx.conf /etc/nginx/nginx.conf
EXPOSE 80