manimator / Dockerfile
theminji's picture
Update Dockerfile
6682abb verified
raw
history blame contribute delete
460 Bytes
FROM python:3.9-slim
RUN apt-get update && apt-get install -y \
build-essential \
pkg-config \
python3-dev \
ffmpeg \
libcairo2-dev \
libpango1.0-dev \
meson \
ninja-build \
texlive \
texlive-latex-extra \
espeak-ng \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
ENV FLASK_APP=app.py
CMD ["python", "app.py"]