Skip to content

Commit

Permalink
Update dependencies:
Browse files Browse the repository at this point in the history
Python from 3.10.6 to 3.10.7
PDM from 2.1.2 to 2.1.3
black from 22.6.0 to 22.8.0
pytest from 7.1.2 to 7.1.3.
  • Loading branch information
mnako committed Sep 10, 2022
1 parent 6f2c0f5 commit 499d3cc
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 60 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.10.6-slim-buster
FROM python:3.10.7-slim-buster

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==22.2.2 && pip install --user pdm==2.1.2
RUN python -m pip install --upgrade pip==22.2.2 && pip install --user pdm==2.1.3
ENV PATH="/app/__pypackages__/3.10/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.10.6-alpine3.16
FROM python:3.10.7-alpine3.16

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==22.2.2 && pip install --user pdm==2.1.2
RUN python -m pip install --upgrade pip==22.2.2 && pip install --user pdm==2.1.3
ENV PATH="/app/__pypackages__/3.10/bin:/home/user/.local/bin:${PATH}"

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

0 comments on commit 499d3cc

Please sign in to comment.