Added docker file (Fork from PassiveLemon)

This commit is contained in:
Toby Chui
2023-06-21 19:45:58 +08:00
parent 828af6263d
commit 3fbf246fb4
4 changed files with 126 additions and 0 deletions

17
docker/Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM alpine:latest
RUN apk update && apk upgrade &&\
apk add bash curl jq &&\
mkdir -p /zoraxy/data/
VOLUME [ "/zoraxy/data/" ]
COPY entrypoint.sh /zoraxy/
RUN chmod +x /zoraxy/entrypoint.sh
ENV ARGS="-port=:8000 -noauth=false"
EXPOSE 8000
ENTRYPOINT ["/zoraxy/entrypoint.sh"]