caviri
commited on
Commit
·
6038eb0
1
Parent(s):
4b17ca6
ci: Tesging HF
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -43,9 +43,9 @@ RUN apt-get update && apt-get -y upgrade \
|
|
43 |
# Switch to the "user" user
|
44 |
USER 1000
|
45 |
|
46 |
-
#
|
47 |
-
|
48 |
-
|
49 |
|
50 |
# Set the working directory to the user's home directory
|
51 |
WORKDIR $HOME/digiwild
|
@@ -60,4 +60,4 @@ RUN pip3 install -r $HOME/digiwild/requirements.txt
|
|
60 |
|
61 |
#RUN chown -R user:user /digiwild/data /digiwild/app/assets
|
62 |
|
63 |
-
ENTRYPOINT python3 app/main.py
|
|
|
43 |
# Switch to the "user" user
|
44 |
USER 1000
|
45 |
|
46 |
+
# Set home to the user's home directory
|
47 |
+
ENV HOME=/home/user \
|
48 |
+
PATH=/home/user/.local/bin:$PATH
|
49 |
|
50 |
# Set the working directory to the user's home directory
|
51 |
WORKDIR $HOME/digiwild
|
|
|
60 |
|
61 |
#RUN chown -R user:user /digiwild/data /digiwild/app/assets
|
62 |
|
63 |
+
ENTRYPOINT ["python3", "app/main.py"]
|