FROM alpine
RUN apk add --no-cache \
nginx \
su-exec \
tor
COPY torrc /etc/tor/torrc
COPY nginx.conf /etc/nginx/nginx.conf.tmpl
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]