mirror of
https://github.com/Retropex/custom-ocean.xyz-dashboard.git
synced 2025-05-12 19:20:45 +02:00
Update dockerfile
This commit is contained in:
parent
c7fbcb086d
commit
7fb94e1c00
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user