Spaces:
Sleeping
Sleeping
dillonlaird
commited on
Commit
β’
7092157
1
Parent(s):
502d47a
trying docker space
Browse files- Dockerfile +11 -0
- README.md +1 -4
- pre-requirements.txt +0 -1
Dockerfile
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.10
|
2 |
+
|
3 |
+
WORKDIR /code
|
4 |
+
|
5 |
+
COPY ./requirements.txt /code/requirements.txt
|
6 |
+
|
7 |
+
RUN pip install --no-cache-dir --upgrade /code/requirements.txt
|
8 |
+
|
9 |
+
COPY . .
|
10 |
+
|
11 |
+
CMD ["streamlit", "run", "app.py"]
|
README.md
CHANGED
@@ -3,10 +3,7 @@ title: LandingAI-PokerCard
|
|
3 |
emoji: π
|
4 |
colorFrom: red
|
5 |
colorTo: pink
|
6 |
-
sdk:
|
7 |
-
sdk_version: 1.25.0
|
8 |
-
app_file: app.py
|
9 |
-
pinned: false
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
3 |
emoji: π
|
4 |
colorFrom: red
|
5 |
colorTo: pink
|
6 |
+
sdk: docker
|
|
|
|
|
|
|
7 |
---
|
8 |
|
9 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
pre-requirements.txt
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
pydantic<2.0.0
|
|
|
|