mirror of
https://github.com/UiO-Gaming/mustafa.git
synced 2026-11-05 13:56:48 +01:00
16 lines
293 B
Docker
16 lines
293 B
Docker
FROM python:3.12
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
|
|
RUN python3 -m pip install -r requirements.txt
|
|
|
|
RUN apt update && apt install -y imagemagick ffmpeg libsm6 libxext6 graphviz
|
|
|
|
COPY . .
|
|
|
|
RUN mv /app/src/assets/misc/policy.xml /etc/ImageMagick-6/policy.xml
|
|
|
|
CMD ["python3", "src/run.py"]
|