v0.10.0: Docker + Update-Funktion + deploy.sh

This commit is contained in:
2026-07-02 21:14:18 +02:00
parent 85118c5bcc
commit af2aa1eaf5
20 changed files with 1169 additions and 11 deletions
+45
View File
@@ -0,0 +1,45 @@
FROM php:8.5-fpm-bullseye
# System-Abhängigkeiten
RUN apt-get update && apt-get install -y \
git \
curl \
nginx \
nmap \
supervisor \
libzip-dev \
libpng-dev \
libonig-dev \
libxml2-dev \
zip \
unzip \
default-mysql-client \
&& docker-php-ext-install pdo_mysql mbstring zip bcmath \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Node.js 20
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install -y nodejs \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Composer
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
# Arbeitsverzeichnis
WORKDIR /var/www/html
# Konfigurationsdateien
COPY docker/nginx.conf /etc/nginx/nginx.conf
COPY docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY docker/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
# Log-Verzeichnisse anlegen
RUN mkdir -p /var/log/supervisor
# Port freigeben
EXPOSE 80
ENTRYPOINT ["/entrypoint.sh"]