mirror of
https://github.com/wireadmin/wireadmin
synced 2025-06-26 18:28:06 +00:00
update
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user