Update python dependencies

This commit is contained in:
Donkie
2025-03-16 18:23:40 +01:00
parent 11b12ac2e7
commit 92065fd8df
4 changed files with 312 additions and 314 deletions

View File

@@ -1,4 +1,4 @@
FROM python:3.12-bookworm as python-builder
FROM python:3.12-bookworm AS python-builder
# Install dependencies
RUN apt-get update && apt-get install -y \
@@ -32,7 +32,7 @@ COPY --chown=app:app spoolman /home/app/spoolman/spoolman
COPY --chown=app:app alembic.ini /home/app/spoolman/
COPY --chown=app:app README.md /home/app/spoolman/
FROM python:3.12-bookworm as python-runner
FROM python:3.12-bookworm AS python-runner
LABEL org.opencontainers.image.source=https://github.com/Donkie/Spoolman
LABEL org.opencontainers.image.description="Keep track of your inventory of 3D-printer filament spools."
@@ -74,7 +74,6 @@ RUN chmod +x /home/app/spoolman/entrypoint.sh
WORKDIR /home/app/spoolman
ENV PATH="/home/app/spoolman/.venv/bin:${PATH}"
ENV PYTHONPATH="/home/app/spoolman:${PYTHONPATH}"
ARG GIT_COMMIT=unknown
ARG BUILD_DATE=unknown