You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
472 B
20 lines
472 B
FROM python:3.8.0
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt update
|
|
RUN apt -y upgrade
|
|
RUN apt install -y libcairo2-dev
|
|
RUN apt install -y ffmpeg
|
|
RUN apt install -y texlive texlive-latex-extra texlive-fonts-extra texlive-latex-recommended texlive-science texlive-fonts-extra
|
|
RUN apt install -y libpango1.0-dev pkg-config
|
|
|
|
RUN pip install poetry
|
|
|
|
COPY pyproject.toml /app/pyproject.toml
|
|
|
|
RUN poetry install
|
|
|
|
COPY src /app/src
|
|
|
|
CMD ["poetry", "run", "streamlit", "run", "/app/src/Generator.py"] |