chore: updated node version to 22 and python version to 3.12.10 (#7343)

* chore: updated node version to 22 and python version to 3.12.10

* chore: remove unneccessary comments

* chore: remove nodejs-current dependency
This commit is contained in:
sriram veeraghanta 2025-07-04 16:28:30 +05:30 committed by GitHub
parent fdbe4c2ca6
commit 509db32267
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 26 additions and 21 deletions

View file

@ -1,18 +1,22 @@
FROM python:3.12.5-alpine AS backend
FROM python:3.12.10-alpine
# set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV PIP_DISABLE_PIP_VERSION_CHECK=1
ENV INSTANCE_CHANGELOG_URL https://sites.plane.so/pages/691ef037bcfe416a902e48cb55f59891/
ENV INSTANCE_CHANGELOG_URL=https://sites.plane.so/pages/691ef037bcfe416a902e48cb55f59891/
# Update system packages for security
RUN apk update && apk upgrade
WORKDIR /code
RUN apk add --no-cache \
RUN apk add --no-cache --upgrade \
"libpq" \
"libxslt" \
"nodejs-current" \
"xmlsec"
"xmlsec" \
"ca-certificates" \
"openssl"
COPY requirements.txt ./
COPY requirements ./requirements
@ -30,7 +34,9 @@ RUN apk add --no-cache --virtual .build-deps \
&& \
pip install -r requirements.txt --compile --no-cache-dir \
&& \
apk del .build-deps
apk del .build-deps \
&& \
rm -rf /var/cache/apk/*
# Add in Django deps and generate Django's static files