18 lines
380 B
Docker
18 lines
380 B
Docker
FROM alpine:3.20
|
|
|
|
RUN apk update && \
|
|
apk upgrade && \
|
|
apk add --no-cache nginx, openssh, tor \
|
|
&& rm -rf /var/cache/apk/*
|
|
|
|
COPY nginx.conf /etc/nginx/nginx.conf
|
|
COPY torrc /etc/tor/torrc
|
|
COPY sshd_config /etc/ssh/sshd_config
|
|
COPY index.html /var/www/html/index.html
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
|
|
EXPOSE 4242
|
|
|
|
CMD ["sh", "-c", "nginx && tor -f /etc/tor/torrc"]
|