Avoid use of cache directory with pip

This commit is contained in:
Abhi
2024-08-09 01:27:53 +05:30
committed by GitHub
parent c2037a65d6
commit 272ce31597

View File

@@ -4,5 +4,5 @@ COPY . /app
RUN apt-get -qq update && apt-get -qq install -y git wget ffmpeg mediainfo \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN pip install -r requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
CMD ["python", "main.py"]