From 7fb94e1c00d32e86faed39f7b91900d4f5da9b05 Mon Sep 17 00:00:00 2001 From: DJObleezy <156115770+Djobleezy@users.noreply.github.com> Date: Tue, 25 Mar 2025 08:04:20 -0700 Subject: [PATCH] Update dockerfile --- dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dockerfile b/dockerfile index d8e4ade..0a25e9a 100644 --- a/dockerfile +++ b/dockerfile @@ -28,6 +28,9 @@ COPY templates/*.html templates/ # Run the setup script to ensure proper organization RUN python setup.py +# Run the minifier to process HTML templates +# RUN python minify.py + # Create a non-root user for better security RUN adduser --disabled-password --gecos '' appuser @@ -63,4 +66,4 @@ CMD ["gunicorn", "-b", "0.0.0.0:5000", "App:app", \ "--error-logfile=-", \ "--log-file=-", \ "--graceful-timeout=60", \ - "--worker-tmp-dir=/dev/shm"] \ No newline at end of file + "--worker-tmp-dir=/dev/shm"]