Spaces:
Running
Running
Commit
·
cd56c44
1
Parent(s):
2a141f9
Update requirements and lockfile
Browse files- Dockerfile +2 -2
- requirements.in +3 -0
- requirements.txt +3 -2
Dockerfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
2 |
# you will also find guides on how best to write your Dockerfile
|
3 |
|
4 |
-
FROM python:3.
|
5 |
|
6 |
RUN useradd -m -u 1000 user
|
7 |
|
@@ -15,4 +15,4 @@ COPY --chown=user . /app
|
|
15 |
|
16 |
EXPOSE 7860
|
17 |
|
18 |
-
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:server"]
|
|
|
1 |
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
2 |
# you will also find guides on how best to write your Dockerfile
|
3 |
|
4 |
+
FROM python:3.12
|
5 |
|
6 |
RUN useradd -m -u 1000 user
|
7 |
|
|
|
15 |
|
16 |
EXPOSE 7860
|
17 |
|
18 |
+
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:server"]
|
requirements.in
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
gunicorn
|
3 |
+
vizro
|
requirements.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# This file was autogenerated by uv via the following command:
|
2 |
-
# uv pip compile
|
3 |
annotated-types==0.7.0
|
4 |
# via pydantic
|
5 |
blinker==1.8.2
|
@@ -36,6 +36,7 @@ flask==3.0.3
|
|
36 |
flask-caching==2.3.0
|
37 |
# via vizro
|
38 |
gunicorn==23.0.0
|
|
|
39 |
idna==3.7
|
40 |
# via requests
|
41 |
importlib-metadata==8.4.0
|
@@ -60,7 +61,6 @@ packaging==24.1
|
|
60 |
# plotly
|
61 |
pandas==2.2.2
|
62 |
# via vizro
|
63 |
-
pip==24.2
|
64 |
plotly==5.23.0
|
65 |
# via dash
|
66 |
pydantic==2.8.2
|
@@ -97,6 +97,7 @@ tzdata==2024.1
|
|
97 |
urllib3==2.2.2
|
98 |
# via requests
|
99 |
vizro==0.1.20
|
|
|
100 |
werkzeug==3.0.4
|
101 |
# via
|
102 |
# dash
|
|
|
1 |
# This file was autogenerated by uv via the following command:
|
2 |
+
# uv pip compile requirements.in -o requirements.txt
|
3 |
annotated-types==0.7.0
|
4 |
# via pydantic
|
5 |
blinker==1.8.2
|
|
|
36 |
flask-caching==2.3.0
|
37 |
# via vizro
|
38 |
gunicorn==23.0.0
|
39 |
+
# via -r requirements.in
|
40 |
idna==3.7
|
41 |
# via requests
|
42 |
importlib-metadata==8.4.0
|
|
|
61 |
# plotly
|
62 |
pandas==2.2.2
|
63 |
# via vizro
|
|
|
64 |
plotly==5.23.0
|
65 |
# via dash
|
66 |
pydantic==2.8.2
|
|
|
97 |
urllib3==2.2.2
|
98 |
# via requests
|
99 |
vizro==0.1.20
|
100 |
+
# via -r requirements.in
|
101 |
werkzeug==3.0.4
|
102 |
# via
|
103 |
# dash
|