From 1c6ecb92300f5d7970083845154ff318cdddd403 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Tue, 4 Nov 2025 10:02:43 +0100 Subject: [PATCH] rewrite --- Dockerfile | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3f2a143..fe7b1ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,27 +11,18 @@ LABEL maintainer="HAProxy Manager" \ # ===== INSTALL SYSTEM DEPENDENCIES ===== RUN apt-get update && apt-get install -y --no-install-recommends \ - # HAProxy & SSL haproxy \ openssl \ ca-certificates \ - \ - # Supervisord supervisor \ - \ - # Utilities curl \ wget \ git \ vim \ - \ - # Development (for cryptography) libssl-dev \ libffi-dev \ python3-dev \ build-essential \ - \ - # Cleanup && rm -rf /var/lib/apt/lists/* \ && apt-get clean @@ -71,11 +62,11 @@ RUN mkdir -p /app/instance \ COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf COPY entrypoint.sh /entrypoint.sh -# ===== SET PERMISSIONS ===== +# ===== SET PERMISSIONS (POPRAWIONE - && ВЕЗДЕ!) ===== RUN chmod +x /entrypoint.sh && \ chmod 755 /app && \ - chmod -R 755 /app/uploads \ - chmod -R 755 /app/backups \ + chmod -R 755 /app/uploads && \ + chmod -R 755 /app/backups && \ chmod -R 755 /app/logs # ===== EXPOSE PORTS =====