Spaces:
Runtime error
Runtime error
silencewing
commited on
Commit
•
bed4af5
1
Parent(s):
2939ba2
init
Browse files- Dockerfile +12 -2
Dockerfile
CHANGED
@@ -1,7 +1,17 @@
|
|
1 |
|
2 |
-
FROM
|
3 |
|
4 |
ENV DEBIAN_FRONTEND=noninteractive
|
5 |
EXPOSE 7860
|
6 |
|
7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
|