9 lines
258 B
Docker
9 lines
258 B
Docker
FROM python:3.12-slim
|
|
WORKDIR /app
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
COPY src ./src
|
|
COPY config.example.yaml ./config.yaml
|
|
ENV PYTHONPATH=/app/src
|
|
CMD ["python", "-m", "paper_monitor", "--config", "/app/config.yaml"]
|