chill-skeleton-basic/docker/nginx/Dockerfile

11 lines
189 B
Docker
Raw Normal View History

2022-07-11 17:27:00 +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