From 2fd5eb0b10d930c2b19475a3557ae9653eafaf57 Mon Sep 17 00:00:00 2001 From: Leo Park Date: Tue, 3 Dec 2024 16:50:39 +0000 Subject: [PATCH 1/2] Fix: .dockerignore --- .dockerignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.dockerignore b/.dockerignore index 5d5535c..353bfff 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,4 @@ ** !requirements.txt !search_test.py +!modules From 4ed637e91a688ab137188d161ce7084919a65c53 Mon Sep 17 00:00:00 2001 From: Leo Park Date: Tue, 3 Dec 2024 16:51:02 +0000 Subject: [PATCH 2/2] Fix: Dockerfile Warning --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 59a22c1..579bce4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ ARG APP_GROUP_ID="1000" ### -------------------------------------------------------------------- ### Build Stage ### -------------------------------------------------------------------- -FROM python:"$PYTHON_VERSION"-slim-"${DEBIAN_VERSION}" as build +FROM python:"$PYTHON_VERSION"-slim-"${DEBIAN_VERSION}" AS build ARG APP_PYTHON_USERBASE @@ -50,7 +50,7 @@ CMD ["bash"] ### -------------------------------------------------------------------- ### App Stage ### -------------------------------------------------------------------- -FROM python:"$PYTHON_VERSION"-alpine"${ALPINE_VERSION}" as app +FROM python:"$PYTHON_VERSION"-alpine"${ALPINE_VERSION}" AS app # Fetch values from ARGs that were declared at the top of this file ARG APP_NAME