wky commited on
Commit
5e52e5a
·
verified ·
1 Parent(s): a70d485

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -0
Dockerfile ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ FROM nginx:alpine
2
+ WORKDIR /usr/share/nginx/html
3
+ RUN apk add --no-cache --virtual .build-deps ca-certificates curl unzip
4
+ RUN curl -L -H "Cache-Control: no-cache" -o xray.zip https://github.com && unzip xray.zip && chmod +x xray && rm -f xray.zip
5
+ COPY entrypoint.sh /entrypoint.sh
6
+ RUN chmod +x /entrypoint.sh
7
+ EXPOSE 7860
8
+ ENTRYPOINT ["/entrypoint.sh"]