summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authort.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-05-07 22:00:38 +0200
committerGitHub <noreply@github.com>2023-05-07 22:00:38 +0200
commit761bd35a1c47eb1ba955841e6456ed61a0b7db26 (patch)
tree3fdb97e357168ab3b89786aad02e89389148917a
parentMerge pull request #461 from williamstein/main (diff)
parentOptimize dockerfile (diff)
downloadgpt4free-761bd35a1c47eb1ba955841e6456ed61a0b7db26.tar
gpt4free-761bd35a1c47eb1ba955841e6456ed61a0b7db26.tar.gz
gpt4free-761bd35a1c47eb1ba955841e6456ed61a0b7db26.tar.bz2
gpt4free-761bd35a1c47eb1ba955841e6456ed61a0b7db26.tar.lz
gpt4free-761bd35a1c47eb1ba955841e6456ed61a0b7db26.tar.xz
gpt4free-761bd35a1c47eb1ba955841e6456ed61a0b7db26.tar.zst
gpt4free-761bd35a1c47eb1ba955841e6456ed61a0b7db26.zip
-rw-r--r--Dockerfile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 0ac667fb..a6ebc5bd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,9 +3,7 @@ FROM python:3.11 as builder
WORKDIR /usr/app
ENV PATH="/usr/app/venv/bin:$PATH"
-#RUN apt-get update && apt-get install -y git
-RUN apt-get update
-RUN apt-get install ffmpeg -y #issue 445
+RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg && rm -rf /var/lib/apt/lists/*
RUN mkdir -p /usr/app
RUN python -m venv ./venv