Files
assets-bot/Dockerfile

11 lines
207 B
Docker

FROM python:3.8-slim
RUN apt update && apt install -y git libmagic1 optipng
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD [ "python", "./optimizer_worker.py" ]