2025-06-29 19:18:50 +02:00
|
|
|
FROM nginx:1.28
|
2024-12-25 13:09:48 +01:00
|
|
|
|
2026-03-16 10:13:45 +00:00
|
|
|
RUN [ ! -f /etc/nginx/dhparam.pem ] && openssl dhparam -dsaparam -out /etc/nginx/dhparam.pem 2048
|
2025-02-27 17:22:05 +01:00
|
|
|
|
2025-06-29 19:18:50 +02:00
|
|
|
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
|
|
|
|
|
|
|
|
|
|
# See https://docs.docker.com/build/building/multi-stage/
|
|
|
|
|
COPY --from=inventaire/inventaire:latest /opt/inventaire/client /opt/inventaire/client
|