Spaces:
Sleeping
Sleeping
Create Dockerfile
Browse files- Dockerfile +10 -0
Dockerfile
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.10-slim
|
| 2 |
+
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
COPY . /app
|
| 5 |
+
|
| 6 |
+
RUN apt-get update && apt-get install -y libopenblas0-pthread libgomp1 && apt-get clean
|
| 7 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 8 |
+
EXPOSE 7860
|
| 9 |
+
|
| 10 |
+
CMD [ "python", "app.py" ]
|