Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- 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
|
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|