Skip to content

Commit

Permalink
Update dependencies:
Browse files Browse the repository at this point in the history
* python from 3.11.5 to 3.11.7
* pip from 23.3.1 to 23.3.2
* pdm from 2.10.4 to 2.11.2
* black from 23.11.0 to 23.12.1
* isort from 5.12.0 to 5.12.3
* pytest from 7.4.3 to 7.4.4
* ssort from 0.11.6 to 0.12.0
* ruff from 0.1.7 to 0.1.11
  • Loading branch information
mnako committed Jan 7, 2024
1 parent 17db052 commit ab88652
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 111 deletions.
4 changes: 2 additions & 2 deletions {{ cookiecutter.project_name }}/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11.5-slim-bookworm
FROM python:3.11.7-slim-bookworm

ARG USER_ID
ARG GROUP_ID
Expand All @@ -12,7 +12,7 @@ RUN groupadd --force --gid ${GROUP_ID} --system usergroup && \
USER user

WORKDIR /app
RUN python -m pip install --upgrade pip==23.3.1 && pip install --user pdm==2.10.4
RUN python -m pip install --upgrade pip==23.3.2 && pip install --user pdm==2.11.2
ENV PATH="/app/__pypackages__/3.11/bin:/home/user/.local/bin:${PATH}"

COPY main.py pdm.lock pyproject.toml /app/
Expand Down
4 changes: 2 additions & 2 deletions {{ cookiecutter.project_name }}/Dockerfile.production
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM python:3.11.5-alpine3.17
FROM python:3.11.7-alpine3.17

LABEL org.opencontainers.image.source="https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_name }}"

RUN addgroup -S usergroup && adduser -S user -G usergroup && mkdir /app && chown user /app
USER user

WORKDIR /app
RUN python -m pip install --upgrade pip==23.3.1 && pip install --user pdm==2.10.4
RUN python -m pip install --upgrade pip==23.3.2 && pip install --user pdm==2.11.2
ENV PATH="/app/__pypackages__/3.11/bin:/home/user/.local/bin:${PATH}"

COPY main.py pdm.lock pyproject.toml /app/
Expand Down
Loading

0 comments on commit ab88652

Please sign in to comment.