chill-base-app-v3/docker/nginx/Dockerfile

11 lines
189 B
Docker
Raw Permalink Normal View History

2024-07-03 10:44:55 +00:00
FROM nginx
COPY ./public /var/www/app/public
# gz encode builded files
RUN gzip -9 -k -f -r /var/www/app/public/build/*
COPY ./docker/nginx/default.conf /etc/nginx/conf.d/default.conf