Spaces:
Sleeping
Sleeping
ayush-thakur02
commited on
Commit
•
5b9705b
1
Parent(s):
1c8b4e5
Upload Dockerfile
Browse files- Dockerfile +10 -0
Dockerfile
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
From python:3.9
|
2 |
+
|
3 |
+
WORKDIR /code
|
4 |
+
|
5 |
+
COPY ./requirements.txt /code/requirements.txt
|
6 |
+
|
7 |
+
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
+
|
9 |
+
COPY . .
|
10 |
+
CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]
|