refactor: 🎨 case matching in dockerfile

This commit is contained in:
Radek Goláň jr. 2024-10-31 09:32:58 +01:00
parent dc978900b8
commit 373532d739
Signed by: shield
GPG Key ID: D86423BFC31F3591

View File

@ -1,4 +1,4 @@
FROM python:3.12 as builder
FROM python:3.12 AS builder
RUN pip install poetry
@ -14,7 +14,7 @@ RUN touch README.md
RUN --mount=type=cache,target=$POETRY_CACHE_DIR poetry install --without dev --no-root
FROM python:3.12-slim as runtime
FROM python:3.12-slim AS runtime
RUN pip install poetry