Update Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
|
@@ -6,7 +6,11 @@ FROM python:3.10-slim
|
|
| 6 |
# Set the working directory in the container
|
| 7 |
#WORKDIR /usr/src/app
|
| 8 |
#Copy the rest of your app's code into the container
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
# Expose the port that Gradio will run on
|
| 12 |
EXPOSE 7860
|
|
|
|
| 6 |
# Set the working directory in the container
|
| 7 |
#WORKDIR /usr/src/app
|
| 8 |
#Copy the rest of your app's code into the container
|
| 9 |
+
WORKDIR /code
|
| 10 |
+
|
| 11 |
+
COPY ./requirements.txt /code/requirements.txt
|
| 12 |
+
|
| 13 |
+
COPY ./app.py /code/app.py
|
| 14 |
|
| 15 |
# Expose the port that Gradio will run on
|
| 16 |
EXPOSE 7860
|