1
0
ohmyform/docker/nginx/Dockerfile

21 lines
391 B
Docker
Raw Permalink Normal View History

2019-04-29 19:09:25 -07:00
FROM alpine:edge
2019-07-11 17:03:43 -07:00
## TODO: Reconsider this.
2019-04-29 19:09:25 -07:00
RUN apk add --no-cache nginx certbot openssl python py-jinja2
COPY *.py /
COPY conf /conf
RUN chmod +x /start.py
RUN chmod +x /letsencrypt.py
RUN chmod +x /config.py
ENV NODE_ENV=development
ENV PORT=5000
ENV SOCKET_PORT=20523
ENV TLS_FLAVOR=notls
ENV BASE_URL=localhost
ENV SUBDOMAIN_URL=*.localhost
ENV SOCKETS_URL=ws.localhost
2019-04-29 19:09:25 -07:00
CMD /start.py