Spaces:
Sleeping
Sleeping
cisdeli commited on
Commit ·
f1db73b
1
Parent(s): 4869f92
Use Docker build for HF Space
Browse files- Dockerfile +11 -0
Dockerfile
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.12
|
| 2 |
+
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
|
| 5 |
+
COPY . .
|
| 6 |
+
|
| 7 |
+
RUN pip install --upgrade pip
|
| 8 |
+
RUN pip install -e ".[app]"
|
| 9 |
+
RUN pip install -r app/requirements.txt
|
| 10 |
+
|
| 11 |
+
CMD ["python", "app/app.py"]
|