Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -36,5 +36,8 @@ WORKDIR $HOME/app
|
|
| 36 |
RUN python3 -m pip install --upgrade pip && \
|
| 37 |
python3 -m pip install --no-cache-dir gradio
|
| 38 |
|
|
|
|
|
|
|
|
|
|
| 39 |
# Command to run the Gradio app
|
| 40 |
CMD ["python3", "app.py"]
|
|
|
|
| 36 |
RUN python3 -m pip install --upgrade pip && \
|
| 37 |
python3 -m pip install --no-cache-dir gradio
|
| 38 |
|
| 39 |
+
# Copy the app.py file from the host to the container
|
| 40 |
+
COPY --chown=user:user app.py .
|
| 41 |
+
|
| 42 |
# Command to run the Gradio app
|
| 43 |
CMD ["python3", "app.py"]
|