Files
mustafa/Dockerfile
T
LBlend a08f5e9076 remove misc asset folder
move everything to the parent directory
2024-03-27 20:36:12 +01:00

18 lines
331 B
Docker

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