philomena/docker/web/Dockerfile
2020-10-26 17:01:29 -04:00

6 lines
212 B
Docker

FROM nginx:1.19.3
ENV APP_DIR /srv/philomena
COPY docker/web/nginx.conf /tmp/docker.nginx
RUN envsubst '$APP_DIR' < /tmp/docker.nginx > /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]