Spaces:
Sleeping
Sleeping
download demo.json
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -23,6 +23,8 @@ RUN apt-get update && apt-get install -y \
|
|
| 23 |
ffmpeg \
|
| 24 |
software-properties-common \
|
| 25 |
git \
|
|
|
|
|
|
|
| 26 |
&& rm -rf /var/lib/apt/lists/*
|
| 27 |
|
| 28 |
# === Create writable directories ===
|
|
@@ -40,6 +42,9 @@ COPY --chown=user demos ./demos
|
|
| 40 |
# === Install Python dependencies ===
|
| 41 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
| 42 |
|
|
|
|
|
|
|
|
|
|
| 43 |
# === Expose port & healthcheck ===
|
| 44 |
EXPOSE 8501
|
| 45 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health || exit 1
|
|
|
|
| 23 |
ffmpeg \
|
| 24 |
software-properties-common \
|
| 25 |
git \
|
| 26 |
+
jq \
|
| 27 |
+
curl \
|
| 28 |
&& rm -rf /var/lib/apt/lists/*
|
| 29 |
|
| 30 |
# === Create writable directories ===
|
|
|
|
| 42 |
# === Install Python dependencies ===
|
| 43 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
| 44 |
|
| 45 |
+
RUN mkdir -p /app/demos && \
|
| 46 |
+
curl -L https://drive.google.com/uc?export=download&id=17gb5qG36p_5hxuWdUOSMktEUf8wZt0B2 -o /app/demos/demos.json
|
| 47 |
+
|
| 48 |
# === Expose port & healthcheck ===
|
| 49 |
EXPOSE 8501
|
| 50 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health || exit 1
|