koalasat 76e0c64ab5 Peach
2024-11-29 16:27:20 +01:00

15 lines
269 B
Docker

FROM python:3.9-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN chmod +x /app/entrypoint.sh
RUN mkdir -p /app/log
RUN touch /app/log/app.log && chmod 0644 /app/log/app.log
ENTRYPOINT ["/app/entrypoint.sh"]