From d29a2741085a8c703e0dd892c9bc56dc4c9a07f7 Mon Sep 17 00:00:00 2001 From: Lasith Koswatta Gamage Date: Mon, 28 Oct 2024 10:39:09 +1100 Subject: [PATCH] (perf): Convert Python base image to python:3.11-alpine --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 619ef5a..28fda72 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11 +FROM python:3.11-slim WORKDIR /app ENTRYPOINT ["/app/entrypoint.py"] @@ -8,4 +8,5 @@ RUN pip install poetry \ && poetry config virtualenvs.create false \ && poetry install -COPY . ./ +COPY *.py ./ +COPY test/ ./test