Use nginx config

This commit is contained in:
dragongoose
2023-03-26 19:11:06 -04:00
parent 7ff9d9c7bf
commit 61e6f2c8b6
2 changed files with 15 additions and 0 deletions

View File

@ -13,6 +13,7 @@ RUN npm i && npm run build
# nginx state for serving content
FROM nginx:alpine
COPY ./nginx.conf /etc/nginx/nginx.conf
# Set working directory to nginx asset directory
WORKDIR /usr/share/nginx/html
# Remove default nginx static assets