dodalem debug

This commit is contained in:
2026-01-08 11:38:38 +01:00
parent ccba75097f
commit 0c9055122b
4 changed files with 64 additions and 23 deletions

View File

@@ -1,10 +1,21 @@
FROM python:3.9-slim-bookworm
# FROM python:3.9-slim-bookworm
ARG BUILD_FROM
FROM $BUILD_FROM
# Install cron
RUN apt-get update && apt-get -y install cron
# RUN apt-get update && apt-get -y install cron
# Install python3 and cron (dcron)
RUN apk add --no-cache \
python3 \
py3-pip \
dcron
WORKDIR /app
RUN python3 -m venv /app/venv
ENV PATH="/app/venv/bin:$PATH"
RUN source /app/venv/bin/activate
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt