Skip to content

Commit

Permalink
refactor: use Debian
Browse files Browse the repository at this point in the history
  • Loading branch information
Naramsim authored Dec 19, 2024
1 parent 01fe4a0 commit e1c37de
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Resources/docker/app/Dockerfile
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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 && \
Expand Down

0 comments on commit e1c37de

Please sign in to comment.