From 7304ad2f4c068ce842048d5dc9280252a2c12e18 Mon Sep 17 00:00:00 2001 From: Sofiane HAMLAOUI Date: Thu, 16 Nov 2023 11:03:18 +0100 Subject: [PATCH] updating Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 77629af..4dc6c53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM python:3.8 +FROM python:3.8-slim ENV TZ=Europe/Paris RUN mkdir -p /var/www RUN apt update -RUN apt install ffmpeg libglu1-mesa libsm6 libxext6 libxmu6 -y +RUN apt install ffmpeg libglu1-mesa libsm6 libxext6 libxmu6 -y && rm -rf /var/lib/apt/lists/* COPY . /var/www/back/ WORKDIR /var/www/back/ RUN pip3 install --no-cache-dir -r requirements.txt -ENTRYPOINT ["python", "run.py"] \ No newline at end of file +ENTRYPOINT ["python", "run.py", "-e", "contact@exo-dev.fr", "-p", "Dev"] \ No newline at end of file