Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +8 -1
Dockerfile
CHANGED
|
@@ -1,6 +1,13 @@
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
WORKDIR /app
|
| 4 |
COPY . .
|
| 5 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 6 |
CMD ["python3", "app.py"]
|
|
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
+
|
| 3 |
+
RUN apt-get update && apt-get install -y \
|
| 4 |
+
git \
|
| 5 |
+
curl \
|
| 6 |
+
cmake \
|
| 7 |
+
build-essential
|
| 8 |
+
|
| 9 |
WORKDIR /app
|
| 10 |
COPY . .
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
+
|
| 13 |
CMD ["python3", "app.py"]
|