From aea4f9b160c0b666a78a5afa674b0849b0469056 Mon Sep 17 00:00:00 2001 From: Manuel Stausberg Date: Mon, 10 Apr 2023 23:27:03 +0200 Subject: [PATCH] clean up Dockerfile --- Dockerfile | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) 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