Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update python to 3.12 #887

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN yarn install --frozen-lockfile
COPY ./builder /app
RUN yarn run build

FROM python:3.8-slim-buster@sha256:2516c4bc037b8144b6104e73e6bdd0c861725d9ed7bd05095dded22842991508
FROM python:3.12-slim-bookworm@sha256:246ab600024ec91bf5413b9d18efa5bcb30b2a8869d91bb8f60c2d6bf393d815

LABEL org.opencontainers.image.source="https://github.com/thunderstore-io/Thunderstore"

Expand All @@ -25,7 +25,7 @@ RUN apt-get update && apt-get install -y \
COPY ./python-packages/ /python-packages
COPY ./django/pyproject.toml ./django/poetry.lock /app/

RUN pip install -U pip setuptools wheel virtualenv==20.7.2 poetry~=1.4.2 --no-cache-dir && \
RUN pip install -U pip setuptools wheel virtualenv==20.24.5 poetry~=1.6.1 --no-cache-dir && \
poetry config virtualenvs.create false && \
poetry config installer.max-workers 1 && \
if [ $BUILD_INSTALL_EXTRAS = true ] ; then \
Expand Down
Loading
Loading