From 51b2fd16defb941c5205825c05b319765a012c29 Mon Sep 17 00:00:00 2001 From: jeanGaston Date: Tue, 30 Jan 2024 09:29:48 +0100 Subject: [PATCH] update Change docker image for bullseye --- DataScraper/DOCKERFILE | 2 +- WebGui/DOCKERFILE | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DataScraper/DOCKERFILE b/DataScraper/DOCKERFILE index 1582776..b6a46a5 100644 --- a/DataScraper/DOCKERFILE +++ b/DataScraper/DOCKERFILE @@ -1,5 +1,5 @@ # Use the official Python image as a base image -FROM python:3.8-slim +FROM python:3.11-slim-bullseye # Set the working directory in the container WORKDIR /app diff --git a/WebGui/DOCKERFILE b/WebGui/DOCKERFILE index bf4207f..2760763 100644 --- a/WebGui/DOCKERFILE +++ b/WebGui/DOCKERFILE @@ -1,5 +1,5 @@ # Use the official Python image as a base image -FROM python:3.11-slim +FROM python:3.11-slim-bullseye # Set the working directory in the container WORKDIR /app @@ -11,7 +11,7 @@ COPY ./Helloworld.py /app/ EXPOSE 5000 # Install any dependencies -RUN pip install --no-cache-dir flask +RUN pip install --no-cache-dir -r ./requirements.txt # Set the entry point CMD ["python", "Helloworld.py"]