Spaces:
Sleeping
Sleeping
docker updated
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -32,13 +32,13 @@ ENV HOME=/home/user \
|
|
32 |
PATH=/home/user/.local/bin:$PATH
|
33 |
|
34 |
# Set the working directory to /
|
35 |
-
WORKDIR /
|
36 |
|
37 |
RUN mkdir -p /uploads
|
38 |
RUN chmod 777 /uploads
|
39 |
|
40 |
|
41 |
-
COPY --chown=user . /
|
42 |
|
43 |
|
44 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
|
|
32 |
PATH=/home/user/.local/bin:$PATH
|
33 |
|
34 |
# Set the working directory to /
|
35 |
+
WORKDIR $HOME/app
|
36 |
|
37 |
RUN mkdir -p /uploads
|
38 |
RUN chmod 777 /uploads
|
39 |
|
40 |
|
41 |
+
COPY --chown=user . $HOME/app
|
42 |
|
43 |
|
44 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|