From bb1d3e066ec257f3ecf3cd6f7fe004e91179b540 Mon Sep 17 00:00:00 2001 From: typicalaimster Date: Wed, 17 Jul 2024 15:14:32 -0700 Subject: [PATCH] Update Dockerfile.exporter Change to alpine to reduce overhead --- docker/exporter/Dockerfile.exporter | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/exporter/Dockerfile.exporter b/docker/exporter/Dockerfile.exporter index 9eae2b4..adb069b 100644 --- a/docker/exporter/Dockerfile.exporter +++ b/docker/exporter/Dockerfile.exporter @@ -1,7 +1,8 @@ -FROM python +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 @@ -9,4 +10,4 @@ RUN pip3 install -r requirements.txt COPY ../../exporter exporter COPY ../../main.py . COPY ../../constants.py . -CMD ["python3", "-u", "main.py"] \ No newline at end of file +CMD ["python3", "-u", "main.py"]