summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorYulqen <246857+yulqen@users.noreply.github.com>2024-05-23 16:00:01 +0100
committerGitHub <noreply@github.com>2024-05-23 16:00:01 +0100
commit02fb0cab9a683cd426288bbe6d581a4e15ebb2e8 (patch)
tree486e629284d5290568f1e409ea52e665b35e83e2 /Dockerfile
parentd7ad757ac6f14fe5e7d35f7a6118128b722b5ab8 (diff)
parent6bfad3700837937a36ab6473cfbe31a07656590e (diff)
Merge pull request #52 from defencedigital/postgres-migration
Removes multi-stage build for Django - uses RHEL
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile14
1 files changed, 0 insertions, 14 deletions
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