Spaces:
Sleeping
Sleeping
Commit
·
9ec3ae7
1
Parent(s):
170c2ef
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -17,9 +17,9 @@ ENV HOME=/home/user \
|
|
17 |
PATH=/home/user/.local/bin:$PATH
|
18 |
|
19 |
# Set the working directory to the user's home directory
|
20 |
-
WORKDIR $HOME/
|
21 |
|
22 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
23 |
-
COPY --chown=user . $HOME/
|
24 |
|
25 |
-
CMD ["uvicorn", "
|
|
|
17 |
PATH=/home/user/.local/bin:$PATH
|
18 |
|
19 |
# Set the working directory to the user's home directory
|
20 |
+
WORKDIR $HOME/app
|
21 |
|
22 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
23 |
+
COPY --chown=user . $HOME/app
|
24 |
|
25 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|