Files
mustafa/Dockerfile
T
LBlend d5468865ae use apt-get instead of apt
according to some tool inside my editor apt is a user facing tool and it is recommended to use apt-get instead
2024-03-03 01:22:02 +01:00

18 lines
314 B
Docker

FROM python:3.12
WORKDIR /app
COPY requirements.txt .
RUN python3 -m pip install -r requirements.txt
RUN apt-get update && apt-get install -y imagemagick ffmpeg libsm6 libxext6 graphviz
COPY . .
RUN mv /app/src/assets/misc/policy.xml /etc/ImageMagick-6/policy.xml
VOLUME logs
CMD ["python3", "src/run.py"]