Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -17,11 +17,11 @@ 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.py
|
21 |
|
22 |
# Install dependencies
|
23 |
RUN pip install gradio
|
24 |
RUN pip install -r requirements.txt
|
25 |
|
26 |
# Run app
|
27 |
-
ENTRYPOINT python
|
|
|
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.py app.py requirements.txt $HOME/app
|
21 |
|
22 |
# Install dependencies
|
23 |
RUN pip install gradio
|
24 |
RUN pip install -r requirements.txt
|
25 |
|
26 |
# Run app
|
27 |
+
ENTRYPOINT python app.py
|