mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-06-03 06:07:20 +02:00

Some code improvements. If the version ever changes, it will download the new binary if it doesn't already exist. Old ones will be kept however. Some general changes to documentation.
19 lines
317 B
Docker
19 lines
317 B
Docker
FROM alpine:latest
|
|
|
|
RUN apk update && apk upgrade &&\
|
|
apk add bash curl jq sudo &&\
|
|
mkdir -p /zoraxy/data/
|
|
|
|
VOLUME [ "/zoraxy/data/" ]
|
|
|
|
COPY entrypoint.sh /zoraxy/
|
|
|
|
RUN chmod +x /zoraxy/entrypoint.sh
|
|
|
|
ENV ARGS="-port=:8000 -noauth=false"
|
|
|
|
EXPOSE 80
|
|
EXPOSE 443
|
|
EXPOSE 8000
|
|
|
|
ENTRYPOINT ["/zoraxy/entrypoint.sh"] |