Mirror NullCart's clearnet HTTPS and onion hidden-service pattern for serving the static promo site on a VPS.
16 lines
390 B
Docker
16 lines
390 B
Docker
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"]
|