13 lines
291 B
Text
13 lines
291 B
Text
|
|
FROM python:3.12-slim
|
||
|
|
|
||
|
|
WORKDIR /app
|
||
|
|
|
||
|
|
COPY requirements.txt .
|
||
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
||
|
|
|
||
|
|
COPY src/ ./src/
|
||
|
|
|
||
|
|
# Keep container alive for ofelia job-exec scheduling.
|
||
|
|
# To run manually: docker compose exec collector python -m src.collector
|
||
|
|
CMD ["tail", "-f", "/dev/null"]
|