From ada829921de87a48a5e96f2feb476c28e69e858e Mon Sep 17 00:00:00 2001 From: monosans Date: Thu, 4 Jul 2024 02:20:53 +0300 Subject: [PATCH] as -> AS in Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 49f7c56..8a3b24e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # hadolint global ignore=DL3008,DL3013,DL4006 -FROM docker.io/python:3.12-slim-bookworm as python-base-stage +FROM docker.io/python:3.12-slim-bookworm AS python-base-stage ENV \ PIP_DISABLE_PIP_VERSION_CHECK=1 \ @@ -14,7 +14,7 @@ ENV \ WORKDIR /app -FROM python-base-stage as python-build-stage +FROM python-base-stage AS python-build-stage ENV \ POETRY_NO_ANSI=1 \ @@ -36,7 +36,7 @@ RUN --mount=type=cache,target=/root/.cache/pip,sharing=locked \ pip wheel --wheel-dir /usr/src/app/wheels -r /dev/stdin -FROM python-base-stage as python-run-stage +FROM python-base-stage AS python-run-stage RUN apt-get update \ && apt-get install -y --no-install-recommends tini \