Add production Docker stack with nginx and Tor.
Mirror NullCart's clearnet HTTPS and onion hidden-service pattern for serving the static promo site on a VPS.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
RUN apk add --no-cache gettext \
|
||||
&& rm /etc/nginx/conf.d/default.conf
|
||||
|
||||
COPY index.html /usr/share/nginx/html/
|
||||
COPY css/ /usr/share/nginx/html/css/
|
||||
COPY assets/ /usr/share/nginx/html/assets/
|
||||
|
||||
COPY nginx/conf.d/ /etc/nginx/templates/conf.d/
|
||||
COPY nginx/docker-entrypoint.sh /docker-entrypoint.sh
|
||||
|
||||
RUN chmod +x /docker-entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
Reference in New Issue
Block a user