nginx: speed up dhparam generation to avoid Coolify build timeout
Made-with: Cursor
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
FROM nginx:1.28
|
||||
|
||||
RUN [ ! -f /etc/nginx/dhparam.pem ] && openssl dhparam -out /etc/nginx/dhparam.pem 2048
|
||||
RUN [ ! -f /etc/nginx/dhparam.pem ] && openssl dhparam -dsaparam -out /etc/nginx/dhparam.pem 2048
|
||||
|
||||
RUN mkdir -p /tmp/nginx/tmp /tmp/nginx/resize/img/users /tmp/nginx/resize/img/groups /tmp/nginx/resize/img/entities /tmp/nginx/resize/img/remote /tmp/nginx/resize/img/assets /var/cache/nginx/client_temp /opt/inventaire/client && chown -R nginx:nginx /tmp/nginx /opt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user