Spaces:
Sleeping
Sleeping
Valentin De Matos
commited on
Commit
·
e09f120
1
Parent(s):
6a1f8a2
V0
Browse filesSigned-off-by: Valentin De Matos <vdmatos@gladia.io>
- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -18,10 +18,10 @@ ENV HOME=/home/user \
|
|
18 |
PATH=/home/user/.local/bin:$PATH
|
19 |
|
20 |
# Set the working directory to the user's home directory
|
21 |
-
|
22 |
|
23 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
24 |
-
|
25 |
-
COPY --chown=user . /code
|
26 |
|
27 |
CMD ["python", "app.py"]
|
|
|
18 |
PATH=/home/user/.local/bin:$PATH
|
19 |
|
20 |
# Set the working directory to the user's home directory
|
21 |
+
WORKDIR $HOME/app
|
22 |
|
23 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
24 |
+
COPY --chown=user . $HOME/app
|
25 |
+
# COPY --chown=user . /code
|
26 |
|
27 |
CMD ["python", "app.py"]
|