From 15b15920a6a1e4497a1de3525ad7b2810fc369f3 Mon Sep 17 00:00:00 2001
From: Guillaume Schurck <g.schurck@gmail.com>
Date: Sun, 20 Nov 2022 02:52:28 +0100
Subject: [PATCH] changed docker base images to slim

---
 redis/Dockerfile             | 2 +-
 sg-backend/Dockerfile        | 2 +-
 sg-frontend/Dockerfile       | 2 +-
 sg-frontend/build.Dockerfile | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/redis/Dockerfile b/redis/Dockerfile
index c317216..9f99845 100644
--- a/redis/Dockerfile
+++ b/redis/Dockerfile
@@ -1,4 +1,4 @@
-FROM python:latest
+FROM python:3.10-slim
 COPY client_example.py ./client.py
 COPY requirements.txt ./requirements.txt
 RUN pip3 install -r requirements.txt
diff --git a/sg-backend/Dockerfile b/sg-backend/Dockerfile
index 8abdeaf..864704e 100644
--- a/sg-backend/Dockerfile
+++ b/sg-backend/Dockerfile
@@ -1,4 +1,4 @@
-FROM python:latest
+FROM python:3.10-slim
 WORKDIR /code
 ENV POETRY_VERSION=1.2.2
 
diff --git a/sg-frontend/Dockerfile b/sg-frontend/Dockerfile
index b75fc76..2219917 100644
--- a/sg-frontend/Dockerfile
+++ b/sg-frontend/Dockerfile
@@ -1,4 +1,4 @@
-FROM node:18
+FROM node:18-slim
 WORKDIR /app
 COPY . /app
 
diff --git a/sg-frontend/build.Dockerfile b/sg-frontend/build.Dockerfile
index ad10dc9..18ffded 100644
--- a/sg-frontend/build.Dockerfile
+++ b/sg-frontend/build.Dockerfile
@@ -1,4 +1,4 @@
-FROM node:18
+FROM node:18-slim
 WORKDIR /app
 COPY . /app
 
-- 
GitLab