qgallouedec HF staff commited on
Commit
f630878
·
verified ·
1 Parent(s): 7bdd956

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -9
Dockerfile CHANGED
@@ -17,13 +17,5 @@ WORKDIR $HOME/app
17
  RUN pip install --no-cache-dir --upgrade pip
18
 
19
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
20
- COPY --chown=user run_job.py start_app.py requirements.txt README.md $HOME/app/
21
 
22
- # Install dependencies
23
- RUN pip install "gradio[oauth]"
24
- RUN pip install -r requirements.txt
25
-
26
- # Run app
27
- ENTRYPOINT python start_app.py
28
-
29
- # PS: Run with a variable SYSTEM=spaces to enable OAuth on Hugging Face Spaces
 
17
  RUN pip install --no-cache-dir --upgrade pip
18
 
19
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
20
+ COPY --chown=user run_job.py requirements.txt README.md $HOME/app/
21