mirror of
https://github.com/HaitiData/haitidata.git
synced 2026-10-28 18:36:25 +00:00
16 lines
382 B
Docker
16 lines
382 B
Docker
FROM nginx:1.17.2-alpine
|
|
|
|
RUN apk add --no-cache openssl inotify-tools
|
|
|
|
WORKDIR /etc/nginx/
|
|
|
|
ADD nginx.conf.envsubst nginx.https.available.conf.envsubst ./
|
|
ADD geonode.conf ./sites-enabled/
|
|
|
|
ADD docker-autoreload.sh docker-entrypoint.sh /
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
|
RUN chmod +x /docker-autoreload.sh
|
|
RUN chmod +x /docker-entrypoint.sh
|
|
|
|
CMD ["nginx", "-g", "daemon off;"]
|