mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2025-12-06 03:46:44 +03:00
Merge pull request #232 from dmunozv04/dependabot/docker/python-3.13-alpine3.21
Bump python from 3.11-alpine3.21 to 3.13-alpine3.21
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM python:3.11-alpine3.21 AS base
|
||||
FROM python:3.13-alpine3.21 AS base
|
||||
|
||||
FROM base AS compiler
|
||||
|
||||
@@ -19,9 +19,9 @@ RUN apk add --no-cache gcc musl-dev && \
|
||||
pip install -r requirements.txt && \
|
||||
pip uninstall -y pip wheel && \
|
||||
apk del gcc musl-dev && \
|
||||
python3 -m compileall -b -f /usr/local/lib/python3.11/site-packages && \
|
||||
find /usr/local/lib/python3.11/site-packages -name "*.py" -type f -delete && \
|
||||
find /usr/local/lib/python3.11/ -name "__pycache__" -type d -exec rm -rf {} +
|
||||
python3 -m compileall -b -f /usr/local/lib/python3.13/site-packages && \
|
||||
find /usr/local/lib/python3.13/site-packages -name "*.py" -type f -delete && \
|
||||
find /usr/local/lib/python3.13/ -name "__pycache__" -type d -exec rm -rf {} +
|
||||
|
||||
FROM base
|
||||
|
||||
|
||||
Reference in New Issue
Block a user