Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
fdeba94
1
Parent(s):
9b0500f
Upload Dockerfile with huggingface_hub
Browse files- Dockerfile +16 -0
Dockerfile
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
FROM python:3.9
|
| 3 |
+
|
| 4 |
+
WORKDIR /code
|
| 5 |
+
|
| 6 |
+
COPY ./requirements.txt /code/requirements.txt
|
| 7 |
+
|
| 8 |
+
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 9 |
+
|
| 10 |
+
COPY . .
|
| 11 |
+
|
| 12 |
+
ENV GRADIO_SERVER_NAME="0.0.0.0"
|
| 13 |
+
ENV GRADIO_SERVER_PORT=7860
|
| 14 |
+
ENV GRADIO_ALLOW_FLAGGING="never"
|
| 15 |
+
|
| 16 |
+
CMD ["python", "app.py"]
|