Minor update:

- Using a native solution instead of `Redis`
- Forcing logger to use custom log levels
- Fixing a few minor issues about generating configs
This commit is contained in:
Shahrad Elahi
2024-02-07 18:45:17 +03:30
parent 14624a6c12
commit 4875f6dea2
13 changed files with 161 additions and 176 deletions

View File

@@ -15,11 +15,11 @@ RUN apk update && apk upgrade \
iproute2 iptables net-tools \
screen vim curl bash \
wireguard-tools \
openssl \
tor \
redis \
tor &&\
# NPM packages
npm install -g @litehex/node-checksum &&\
# Clear APK cache
&& rm -rf /var/cache/apk/*
rm -rf /var/cache/apk/*
COPY /config/torrc /etc/tor/torrc
COPY /config/obfs4-bridges.conf /etc/torrc.d/obfs4-bridges.conf
@@ -34,6 +34,9 @@ ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
ENV NODE_ENV=development
ENV LOG_LEVEL=debug
COPY docker-entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]