Qa5im commited on
Commit
cd62dba
·
1 Parent(s): 4de9606

docker updated

Browse files
Files changed (1) hide show
  1. 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