meshtastic-metrics-exporter/docker/exporter/Dockerfile.exporter
typicalaimster bb1d3e066e
Update Dockerfile.exporter
Change to alpine to reduce overhead
2024-07-17 15:14:32 -07:00

14 lines
312 B
Docker

FROM python:alpine
LABEL author="Gleb Tcivie"
WORKDIR /app
RUN apk add --update --no-cache gcc libc-dev libffi-dev
COPY ../../requirements.txt .
COPY ../../.env .
RUN pip3 install -r requirements.txt
COPY ../../exporter exporter
COPY ../../main.py .
COPY ../../constants.py .
CMD ["python3", "-u", "main.py"]