diff options
author | Yulqen <246857+yulqen@users.noreply.github.com> | 2024-05-23 16:00:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-23 16:00:01 +0100 |
commit | 02fb0cab9a683cd426288bbe6d581a4e15ebb2e8 (patch) | |
tree | 486e629284d5290568f1e409ea52e665b35e83e2 /Dockerfile | |
parent | d7ad757ac6f14fe5e7d35f7a6118128b722b5ab8 (diff) | |
parent | 6bfad3700837937a36ab6473cfbe31a07656590e (diff) |
Merge pull request #52 from defencedigital/postgres-migration
Removes multi-stage build for Django - uses RHEL
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -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 |