Spaces:
Sleeping
Sleeping
change
Browse files- DockerFile +1 -1
- requirements.txt +2 -1
DockerFile
CHANGED
@@ -11,4 +11,4 @@ COPY --chown=user ./requirements.txt requirements.txt
|
|
11 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
12 |
|
13 |
COPY --chown=user . /app
|
14 |
-
CMD ["
|
|
|
11 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
12 |
|
13 |
COPY --chown=user . /app
|
14 |
+
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]
|
requirements.txt
CHANGED
@@ -8,4 +8,5 @@ scikit-learn==1.6.1
|
|
8 |
Flask==3.1.1
|
9 |
gdown==5.1.0
|
10 |
tensorflow-cpu==2.15.0
|
11 |
-
underthesea==6.6.0
|
|
|
|
8 |
Flask==3.1.1
|
9 |
gdown==5.1.0
|
10 |
tensorflow-cpu==2.15.0
|
11 |
+
underthesea==6.6.0
|
12 |
+
gunicorn==20.1.0
|