Fix FROM / AS casing
All checks were successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/cron/docker Pipeline was successful

This commit is contained in:
Oliver Traber 2025-02-02 21:15:52 +01:00
parent 6da948ff33
commit fa8d6b25b1
Signed by: Bluemedia
GPG key ID: C0674B105057136C

View file

@ -1,5 +1,5 @@
# `python-base` sets up all our shared environment variables
FROM python:3.12-slim as python-base
FROM python:3.12-slim AS python-base
# python
ENV PYTHONUNBUFFERED=1 \
@ -32,7 +32,7 @@ ENV PATH="$POETRY_HOME/bin:$VENV_PATH/bin:$PATH"
# `builder-base` stage is used to build deps + create our virtual environment
FROM python-base as builder-base
FROM python-base AS builder-base
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
# deps for installing poetry
@ -51,7 +51,7 @@ COPY poetry.lock pyproject.toml ./
RUN poetry install
# `production` image used for runtime
FROM python-base as production
FROM python-base AS production
ENV FASTAPI_ENV=production
COPY --from=builder-base $PYSETUP_PATH $PYSETUP_PATH
COPY alembic.ini /usr/src/