Skip to content

Commit

Permalink
updating Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
SofianeHamlaoui committed Nov 16, 2023
1 parent 99492b6 commit 7304ad2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
ENTRYPOINT ["python", "run.py", "-e", "[email protected]", "-p", "Dev"]

0 comments on commit 7304ad2

Please sign in to comment.