mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
7 lines
No EOL
226 B
Docker
7 lines
No EOL
226 B
Docker
FROM nginx:1.17.6
|
|
ENV APP_DIR /srv/philomena
|
|
WORKDIR $APP_DIR
|
|
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;"] |