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