Spaces:
Runtime error
Runtime error
Commit
·
c4ab8c5
1
Parent(s):
963cd02
Upload folder using huggingface_hub
Browse files- Dockerfile +12 -0
Dockerfile
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.9
|
2 |
+
|
3 |
+
ARG GRADIO_SERVER_PORT=7860
|
4 |
+
ENV GRADIO_SERVER_PORT=${GRADIO_SERVER_PORT}
|
5 |
+
|
6 |
+
WORKDIR /workspace
|
7 |
+
|
8 |
+
ADD requirements.txt main.py /workspace/
|
9 |
+
|
10 |
+
RUN pip install -r /workspace/requirements.txt
|
11 |
+
|
12 |
+
CMD ["python", "/workspace/main.py"]
|