Spaces:
Sleeping
Sleeping
fixed file
Browse files- Dockerfile +4 -4
- app.py → main.py +0 -0
- requirements.txt +0 -0
Dockerfile
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
|
| 2 |
FROM python:3.10-slim
|
| 3 |
|
| 4 |
-
WORKDIR /
|
| 5 |
|
| 6 |
-
COPY requirements.txt requirements.txt
|
| 7 |
-
RUN
|
| 8 |
|
| 9 |
COPY . .
|
| 10 |
|
| 11 |
-
CMD [ "
|
|
|
|
| 1 |
|
| 2 |
FROM python:3.10-slim
|
| 3 |
|
| 4 |
+
WORKDIR /code
|
| 5 |
|
| 6 |
+
COPY ./requirements.txt /code/requirements.txt
|
| 7 |
+
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 8 |
|
| 9 |
COPY . .
|
| 10 |
|
| 11 |
+
CMD [ "gunicorn", "-b", "0.0.0.0:7860", "main:app"]
|
app.py → main.py
RENAMED
|
File without changes
|
requirements.txt
CHANGED
|
Binary files a/requirements.txt and b/requirements.txt differ
|
|
|