Update ruff & uv usage
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/tests Pipeline was successful

This commit is contained in:
Sonny Bakker 2025-03-23 16:19:15 +01:00
parent aff565862c
commit f3ba0f1d09
5 changed files with 58 additions and 59 deletions

View file

@ -15,7 +15,7 @@ RUN mkdir /app/media
COPY uv.lock pyproject.toml /app/
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
RUN uv sync --frozen --no-install-project
RUN uv sync --frozen --no-default-groups --no-install-project
# stage 2
@ -58,7 +58,7 @@ COPY --from=frontend-build /app/src/newsreader/static /app/src/newsreader/static
COPY ./src /app/src
RUN uv sync --frozen --extra production
RUN uv sync --frozen --only-group production --extra sentry
RUN useradd -M -u 1000 newsreader
RUN chown -R newsreader:newsreader /app
@ -99,4 +99,4 @@ COPY ./bin/docker-entrypoint.sh /app/bin/docker-entrypoint.sh
COPY --from=backend /app/src/ /app/src/
COPY --from=backend /bin/uv /bin/uv
RUN uv sync --frozen --extra testing --extra development
RUN uv sync --frozen --group development