From 6bfad3700837937a36ab6473cfbe31a07656590e Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 23 May 2024 15:59:05 +0100 Subject: Removes multi-stage build for Django - uses RHEL --- Dockerfile | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index bba15d4..340e328 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,20 +17,6 @@ RUN pip install -U "pip>=24.0.0" && \ pip install -r requirements.txt && \ python manage.py collectstatic --noinput -# Final stage -FROM python:3.11-slim - -# Set working directory -WORKDIR /app - -# Copy from builder -COPY --from=builder /app /app - -RUN apt update && apt install -y --no-install-recommends libpq-dev build-essential - -# Install packages -RUN pip install -r requirements.txt - ENV DJANGO_SETTINGS_MODULE=conf.settings.local EXPOSE 8000 -- cgit v1.2.3