From 2851046fa6e18069120998781ef5391642920f22 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 3 Jun 2024 15:57:03 +0100 Subject: More changes to Docker file to get RHEL to build and alias file --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 62df5e1..10eea16 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,9 @@ FROM registry.access.redhat.com/ubi8/python-38 USER 0 # Install system dependencies -RUN microdnf install -y postgresql-devel gcc +RUN yum install -y postgresql-devel gcc && \ + yum clean all && \ + rm -rf /var/cache/yum WORKDIR /app @@ -21,7 +23,3 @@ RUN mkdir -p /app/static/css /app/static/js /app/static/img # Switch to non-root user USER 1001 - -# Start app -CMD ["gunicorn", "ded.wsgi:application", "--bind", "0.0.0:8000"] - -- cgit v1.2.3