new app
Browse files- Dockerfile +1 -1
- 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 ["
|
|
|
|
| 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 |
-
|
| 3 |
hopsworks[python]==4.1.4
|
| 4 |
pandas
|
|
|
|
| 1 |
flask
|
| 2 |
+
gunicorn
|
| 3 |
hopsworks[python]==4.1.4
|
| 4 |
pandas
|