Spaces:
Sleeping
Sleeping
Upload Dockerfile.txt
Browse files- Dockerfile.txt +7 -0
Dockerfile.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.9
|
| 2 |
+
WORKDIR /app
|
| 3 |
+
COPY requirements.txt .
|
| 4 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 5 |
+
RUN echo Hello! Welcome to this api thingy. this was made by WillemVH so no copying. okay?
|
| 6 |
+
COPY . .
|
| 7 |
+
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]
|