Spaces:
Sleeping
Sleeping
Update dockerfile
Browse files- dockerfile +0 -4
dockerfile
CHANGED
|
@@ -1,20 +1,16 @@
|
|
| 1 |
FROM python:3.11-slim-bullseye
|
| 2 |
WORKDIR /app
|
| 3 |
|
| 4 |
-
# System packages needed for ffmpeg and yt‑dlp
|
| 5 |
RUN apt-get update && apt-get -y upgrade && \
|
| 6 |
apt-get install -y ffmpeg && \
|
| 7 |
rm -rf /var/lib/apt/lists/*
|
| 8 |
|
| 9 |
-
# Create folders used by the app
|
| 10 |
RUN mkdir -p /app/data /app/.streamlit
|
| 11 |
|
| 12 |
-
# Copy source files
|
| 13 |
COPY requirements.txt /app/requirements.txt
|
| 14 |
COPY .streamlit/config.toml /app/.streamlit/config.toml
|
| 15 |
COPY streamlit_app.py /app
|
| 16 |
|
| 17 |
-
# Install Python deps
|
| 18 |
RUN pip install --upgrade pip && \
|
| 19 |
pip install -r requirements.txt
|
| 20 |
|
|
|
|
| 1 |
FROM python:3.11-slim-bullseye
|
| 2 |
WORKDIR /app
|
| 3 |
|
|
|
|
| 4 |
RUN apt-get update && apt-get -y upgrade && \
|
| 5 |
apt-get install -y ffmpeg && \
|
| 6 |
rm -rf /var/lib/apt/lists/*
|
| 7 |
|
|
|
|
| 8 |
RUN mkdir -p /app/data /app/.streamlit
|
| 9 |
|
|
|
|
| 10 |
COPY requirements.txt /app/requirements.txt
|
| 11 |
COPY .streamlit/config.toml /app/.streamlit/config.toml
|
| 12 |
COPY streamlit_app.py /app
|
| 13 |
|
|
|
|
| 14 |
RUN pip install --upgrade pip && \
|
| 15 |
pip install -r requirements.txt
|
| 16 |
|