Draft: Gitlab CI #8

Open
JustScreaMy wants to merge 11 commits from 12-gitlab-ci into master
2 changed files with 3 additions and 6 deletions
Showing only changes of commit e5d383f068 - Show all commits

View file

@ -8,9 +8,6 @@ stages:
default:
image: python:3.12-slim
#pre-commit:
# stage: linting
build_image:
stage: build
image: docker

View file

@ -11,7 +11,7 @@ ENV PYTHONUNBUFFERED=1 \
RUN adduser --disabled-password --gecos "" django
FROM base as poetry
FROM base AS poetry
ARG POETRY_VERSION=1.8.3
@ -23,7 +23,7 @@ RUN : \
ENV PATH="${VENV}/bin:${PATH}"
FROM poetry as deps
FROM poetry AS deps
WORKDIR /app
@ -39,7 +39,7 @@ RUN chmod +x /usr/local/tmp-bin/* \
ENTRYPOINT ["entrypoint.sh"]
FROM deps as production
FROM deps AS production
WORKDIR /app