Spaces:
Sleeping
Sleeping
Deploy Python probe API
Browse files- Dockerfile +9 -0
Dockerfile
CHANGED
|
@@ -6,6 +6,15 @@ ENV MINDVIS_REPO=/app/mindVisualizer
|
|
| 6 |
|
| 7 |
WORKDIR /app/api
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
COPY requirements.txt .
|
| 10 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 11 |
|
|
|
|
| 6 |
|
| 7 |
WORKDIR /app/api
|
| 8 |
|
| 9 |
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 10 |
+
libgl1 \
|
| 11 |
+
libx11-6 \
|
| 12 |
+
libxext6 \
|
| 13 |
+
libxrender1 \
|
| 14 |
+
libsm6 \
|
| 15 |
+
libgomp1 \
|
| 16 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 17 |
+
|
| 18 |
COPY requirements.txt .
|
| 19 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 20 |
|