jedeland commited on
Commit
460f23f
·
1 Parent(s): d39885a
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. requirements.txt +1 -1
Dockerfile CHANGED
@@ -17,4 +17,4 @@ COPY --chown=user . /app
17
  RUN --mount=type=secret,id=HOPSWORKS_API_KEY,mode=0444,required=true \
18
  export HOPSWORKS_API_KEY=$(cat /run/secrets/HOPSWORKS_API_KEY)
19
 
20
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
17
  RUN --mount=type=secret,id=HOPSWORKS_API_KEY,mode=0444,required=true \
18
  export HOPSWORKS_API_KEY=$(cat /run/secrets/HOPSWORKS_API_KEY)
19
 
20
+ CMD ["gunicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
  flask
2
- uvicorn[standard]
3
  hopsworks[python]==4.1.4
4
  pandas
 
1
  flask
2
+ gunicorn
3
  hopsworks[python]==4.1.4
4
  pandas