From 90065bb2aa7aea6df8364868b968e6ee6ba217ec Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 26 Sep 2021 20:42:07 +0100 Subject: [PATCH] Use slim version of docker container This massively reduces the size of the final container --- docker/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 9b62a81f..ce2458eb 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.9 +FROM python:3.9-slim RUN useradd --system hc ENV PYTHONUNBUFFERED=1 @@ -20,4 +20,3 @@ RUN \ USER hc CMD [ "uwsgi", "/opt/healthchecks/docker/uwsgi.ini"] -