This commit is contained in:
Shahrad Elahi
2024-01-08 12:29:54 +03:30
parent 3432dce042
commit 5a67dd3838
10 changed files with 1950 additions and 95 deletions

View File

@@ -5,6 +5,7 @@ WORKDIR /app
ENV TZ=UTC
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY --from=chriswayg/tor-alpine:latest /usr/local/bin/tor /usr/local/bin/tor
COPY --from=chriswayg/tor-alpine:latest /usr/local/bin/obfs4proxy /usr/local/bin/obfs4proxy
COPY --from=chriswayg/tor-alpine:latest /usr/local/bin/meek-server /usr/local/bin/meek-server
@@ -16,22 +17,19 @@ RUN apk update && apk upgrade \
screen curl bash \
wireguard-tools \
openssl \
tor \
redis \
# Clear APK cache
&& rm -rf /var/cache/apk/*
COPY /config/torrc /etc/tor/torrc
COPY /scripts /scripts
RUN chmod -R +x /scripts
COPY /bin /app/bin
RUN chmod -R +x /app/bin
ENV PATH="$PATH:/app/bin"
COPY web/package.json web/pnpm-lock.yaml ./
FROM base AS build
ENV PNPM_HOME="/pnpm"