philomena/docker/web/Dockerfile

7 lines
219 B
Docker
Raw Normal View History

2021-07-10 05:22:26 +02:00
FROM nginx:1.21.1-alpine
2019-12-03 03:04:59 +01:00
ENV APP_DIR /srv/philomena
COPY docker/web/nginx.conf /tmp/docker.nginx
2019-12-03 19:36:50 +01:00
RUN envsubst '$APP_DIR' < /tmp/docker.nginx > /etc/nginx/conf.d/default.conf
2019-12-03 03:04:59 +01:00
EXPOSE 80
2020-04-27 21:18:43 +02:00
CMD ["nginx", "-g", "daemon off;"]