From a85b6d50c612d39edcdc700bea79384097cff212 Mon Sep 17 00:00:00 2001 From: Berry den Hartog <38954346+berrydenhartog@users.noreply.github.com> Date: Wed, 1 May 2024 06:51:00 +0000 Subject: [PATCH] Comply to standardization for AS statement in Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 62beaf80..08ace8ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ ARG PYTHON_VERSION=3.11.7-slim -FROM --platform=$BUILDPLATFORM python:${PYTHON_VERSION} as project-base +FROM --platform=$BUILDPLATFORM python:${PYTHON_VERSION} AS project-base LABEL maintainer=ai-validatie@minbzk.nl \ organization=MinBZK \ @@ -27,7 +27,7 @@ COPY ./poetry.lock ./pyproject.toml ./ RUN poetry install --without dev,test ENV PATH="/app/.venv/bin:$PATH" -FROM project-base as development +FROM project-base AS development COPY . . RUN poetry install @@ -42,7 +42,7 @@ FROM development AS test RUN coverage run -m pytest ./tests RUN coverage report -FROM project-base as production +FROM project-base AS production COPY ./tad /app/tad