Files
timmy-telemetry/exporter/Dockerfile

9 lines
200 B
Docker

FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY exporter.py .
ENV PYTHONUNBUFFERED=1
EXPOSE 9101
CMD ["python", "-u", "exporter.py"]