diff --git a/Dockerfile b/Dockerfile index 4a4cd4b..d925c6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,19 @@ -FROM python:3 +FROM python:3.10-bullseye -WORKDIR /usr/src/git-sim +RUN apt-get update && apt-get upgrade -y + +RUN apt-get -y install --no-install-recommends \ + build-essential \ + ffmpeg \ + libcairo2-dev \ + libpango1.0-dev -RUN apt update +COPY setup.py README.md MANIFEST.in /app/ -RUN apt -y install build-essential python3-dev libcairo2-dev libpango1.0-dev ffmpeg +COPY git_sim /app/git_sim -RUN pip3 install manim +RUN pip install /app -RUN pip3 install git-sim +WORKDIR /usr/src/git-sim ENTRYPOINT [ "git-sim" ] \ No newline at end of file