This commit is contained in:
Mateusz Gruszczyński
2025-11-04 10:02:43 +01:00
parent b85efadd87
commit 1c6ecb9230

View File

@@ -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 =====