vlessy / Dockerfile
Meooowwwoooooo's picture
Update Dockerfile
422befb verified
raw
history blame contribute delete
381 Bytes
FROM alpine:latest
RUN apk update && apk add --no-cache curl
RUN echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
RUN apk update && apk add --no-cache sing-box python3
RUN mkdir -p /etc/sing-box
RUN touch /etc/sing-box/config.json
RUN chmod 777 /etc/sing-box/config.json
COPY main.py /etc/sing-box/main.py
CMD ["python3","/etc/sing-box/main.py"]