Spaces:
Sleeping
Sleeping
datasciencesage
commited on
Commit
·
e5d624b
1
Parent(s):
45f9fdd
Updated to gunicorn
Browse files- Dockerfile +1 -1
- requirements.txt +2 -1
Dockerfile
CHANGED
@@ -13,4 +13,4 @@ COPY --chown=user ./requirements.txt requirements.txt
|
|
13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
14 |
|
15 |
COPY --chown=user . /app
|
16 |
-
CMD ["
|
|
|
13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
14 |
|
15 |
COPY --chown=user . /app
|
16 |
+
CMD ["gunicorn", "-b","0.0.0.7860","app:app"]
|
requirements.txt
CHANGED
@@ -11,4 +11,5 @@ keras==3.7.0
|
|
11 |
uvicorn
|
12 |
tensorflow-hub
|
13 |
jax
|
14 |
-
accelerate
|
|
|
|
11 |
uvicorn
|
12 |
tensorflow-hub
|
13 |
jax
|
14 |
+
accelerate
|
15 |
+
gunicorn
|