trojan / Dockerfile
wsj1995's picture
Update Dockerfile
9579b4a verified
raw
history blame
368 Bytes
FROM v2ray/official
RUN touch /var/log/v2ray/access.log && chmod -R 755 /var/log/v2ray/access.log
# FROM centos:7
# COPY ./trojan /usr/local/bin/trojan
# RUN chmod +x /usr/local/bin/trojan
# RUN --mount=type=secret,id=TROJAN_CONFIG,mode=0444,required=true \
# cat /run/secrets/TROJAN_CONFIG > /tmp/config.json
# CMD [ "/usr/local/bin/trojan", "/tmp/config.json" ]