Spaces:
Build error
Build error
Upload Dockerfile with huggingface_hub
Browse files- Dockerfile +8 -0
Dockerfile
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
FROM python:3.9
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
RUN apt-get update && apt-get install -y gcc gfortran libopenblas-dev liblapack-dev && rm -rf /var/lib/apt/lists/*
|
| 5 |
+
COPY . .
|
| 6 |
+
RUN pip install -r requirements.txt
|
| 7 |
+
EXPOSE 7860
|
| 8 |
+
CMD ["python", "app.py"]
|