From 25da46f5b6dc1b03891e3dbe7bf975b60182aea8 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"] -