diff --git a/Resources/docker/app/Dockerfile b/Resources/docker/app/Dockerfile index a8d2ac4da..b4e1c2721 100644 --- a/Resources/docker/app/Dockerfile +++ b/Resources/docker/app/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-alpine +FROM python:3.10.16-bookworm ENV PYTHONUNBUFFERED 1 ENV DJANGO_SETTINGS_MODULE 'config.docker-compose' @@ -7,11 +7,7 @@ RUN mkdir /code WORKDIR /code ADD requirements.txt /code/ -RUN apk add --no-cache postgresql-libs libstdc++ -RUN apk add --no-cache --virtual .build-deps gcc g++ musl-dev \ - postgresql-dev rust cargo && \ - python3 -m pip install -r requirements.txt --no-cache-dir && \ - apk --purge del .build-deps +RUN pip install --no-cache-dir -r requirements.txt ADD . /code/ RUN addgroup -g 1000 -S pokeapi && \