silencewing commited on
Commit
bed4af5
1 Parent(s): 2939ba2
Files changed (1) hide show
  1. Dockerfile +12 -2
Dockerfile CHANGED
@@ -1,7 +1,17 @@
1
 
2
- FROM ngrok/ngrok
3
 
4
  ENV DEBIAN_FRONTEND=noninteractive
5
  EXPOSE 7860
6
 
7
- CMD ["/bin/bash.sh"]
 
 
 
 
 
 
 
 
 
 
 
1
 
2
+ FROM ubuntu:latest
3
 
4
  ENV DEBIAN_FRONTEND=noninteractive
5
  EXPOSE 7860
6
 
7
+
8
+ RUN chown -R 1000 /var/log/ /run/
9
+ RUN useradd -m -u 1000 user
10
+ USER user
11
+ ENV HOME /home/user
12
+ COPY --chown=user:user . /home/user/app
13
+ WORKDIR /home/user/app/frp/
14
+
15
+ CMD ["frps", "-c" "frps.ini"]
16
+
17
+