Downgrade docker images for now
This commit is contained in:
parent
ef0c070755
commit
6ac4e5d5c2
5 changed files with 10 additions and 10 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# stage 1
|
||||
FROM python:3.11-bookworm as backend
|
||||
FROM python:3.9-bullseye as backend
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
vim \
|
||||
|
|
@ -17,7 +17,7 @@ RUN pip install -r requirements/production.txt
|
|||
|
||||
|
||||
# stage 2
|
||||
FROM node:current-bookworm AS frontend-build
|
||||
FROM node:current-bullseye AS frontend-build
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
git \
|
||||
|
|
@ -36,7 +36,7 @@ RUN npm run build
|
|||
|
||||
|
||||
# stage 3
|
||||
FROM python:3.11-bookworm as production
|
||||
FROM python:3.9-bullseye as production
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
postgresql-client \
|
||||
|
|
@ -80,7 +80,7 @@ RUN python src/manage.py collectstatic --noinput \
|
|||
|
||||
|
||||
# (optional) stage 4
|
||||
FROM python:3.11-bookworm as development
|
||||
FROM python:3.9-bullseye as development
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
vim \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue