From 87856b06db33cf9a7d959c908c2420e9f1af49b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Fri, 27 Oct 2023 15:42:11 +0000 Subject: [PATCH] Dockerfile build args --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f25cff9..e771921 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ ############ ARG NODE_VERSION=18.16 +ARG PYTHON_VERSION=3.11-slim FROM node:${NODE_VERSION} AS build-ui # env setup @@ -20,8 +21,8 @@ RUN yarn build --dest /tmp/advent22_ui/html # web app # ########### -ARG PYTHON_VERSION=3.11 -FROM tiangolo/uvicorn-gunicorn:python${PYTHON_VERSION}-slim AS production +ARG PYTHON_VERSION +FROM tiangolo/uvicorn-gunicorn:python${PYTHON_VERSION} AS production # add prepared advent22_ui COPY --from=build-ui /tmp/advent22_ui /usr/local/share/advent22_ui