Skip to content

Commit

Permalink
Update Python:
Browse files Browse the repository at this point in the history
* from 3.11.4 yo 3.11.5

Update dependencies:
* black from 23.7.0 to 23.9.1
* pytest from 7.4.0 to 7.4.2
* ruff from 0.0.287 to 0.0.290
  • Loading branch information
mnako committed Sep 16, 2023
1 parent d6591a1 commit ef6bb17
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 84 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.4-slim-bookworm
FROM python:3.11.5-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.2.1 && pip install --user pdm==2.9.0
RUN python -m pip install --upgrade pip==23.2.1 && pip install --user pdm==2.9.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.4-alpine3.17
FROM python:3.11.5-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.2.1 && pip install --user pdm==2.9.0
RUN python -m pip install --upgrade pip==23.2.1 && pip install --user pdm==2.9.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 ef6bb17

Please sign in to comment.