docker support

This commit is contained in:
yii
2021-03-17 15:36:35 +08:00
parent 66aeaefcd8
commit 3994d3032a
4 changed files with 79 additions and 0 deletions

6
docker/Dockerfile Normal file
View File

@@ -0,0 +1,6 @@
FROM ubuntu:18.04
WORKDIR /
COPY docker_entrypoint.sh docker_entrypoint.sh
RUN mkdir /anylink && apt update && apt install -y wget iptables tar iproute2
ENTRYPOINT ["/docker_entrypoint.sh"]
#CMD ["/anylink/anylink","-conf=/anylink/conf/server.toml"]