optimizing Dockerfile

This commit is contained in:
2025-07-22 18:20:56 +02:00
parent efda1c853a
commit 93d4223682
3 changed files with 5 additions and 1 deletions

3
.dockerignore Normal file
View File

@@ -0,0 +1,3 @@
**/*.pyc
**/*.pyo
**/__pycache__

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/app/__pycache__/

View File

@@ -12,7 +12,7 @@ RUN apt-get update \
COPY ./app/requirements.txt . COPY ./app/requirements.txt .
RUN pip3 install -r requirements.txt RUN pip3 install -r requirements.txt
COPY ./app/* . COPY ./app /app
EXPOSE 8501 EXPOSE 8501