Update dockerfile

This commit is contained in:
DJObleezy 2025-03-25 08:04:20 -07:00 committed by GitHub
parent c7fbcb086d
commit 7fb94e1c00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"]
"--worker-tmp-dir=/dev/shm"]