Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -1,7 +1,4 @@
|
|
1 |
FROM python:3.12
|
2 |
-
ENV HOST=0.0.0.0 \
|
3 |
-
PORT=7860 \
|
4 |
-
ORIGINS=*
|
5 |
|
6 |
WORKDIR /code
|
7 |
|
@@ -16,7 +13,10 @@ RUN useradd -m -u 1000 user
|
|
16 |
USER user
|
17 |
|
18 |
ENV HOME=/home/user \
|
19 |
-
PATH=/home/user/.local/bin:$PATH
|
|
|
|
|
|
|
20 |
|
21 |
WORKDIR $HOME/app
|
22 |
|
|
|
1 |
FROM python:3.12
|
|
|
|
|
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
|
|
13 |
USER user
|
14 |
|
15 |
ENV HOME=/home/user \
|
16 |
+
PATH=/home/user/.local/bin:$PATH \
|
17 |
+
ENV HOST=0.0.0.0 \
|
18 |
+
PORT=7860 \
|
19 |
+
ORIGINS=*
|
20 |
|
21 |
WORKDIR $HOME/app
|
22 |
|