Skip to content

Commit

Permalink
Update dependencies:
Browse files Browse the repository at this point in the history
Python from 3.10.4 to 3.10.5.
Alpine from 3.15 to 3.16.
pdm from 1.15.1 to 1.15.4.
requests from 2.27.1 to 2.28.0.
black from 22.3.0 to 22.6.0.
mypy from 0.960 to 0.961.
  • Loading branch information
mnako committed Jun 28, 2022
1 parent 7e1505b commit b1baf65
Show file tree
Hide file tree
Showing 4 changed files with 121 additions and 121 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.4-slim-buster
FROM python:3.10.5-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.1.2 && pip install --user pdm==1.15.1
RUN python -m pip install --upgrade pip==22.1.2 && pip install --user pdm==1.15.4
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.4-alpine3.15
FROM python:3.10.5-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.1.2 && pip install --user pdm==1.15.1
RUN python -m pip install --upgrade pip==22.1.2 && pip install --user pdm==1.15.4
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 b1baf65

Please sign in to comment.