Files
docker-webserver-nginx/Dockerfile
paspo 30ad82a0f8
All checks were successful
Container Publish / on-success-skip (push) Has been skipped
Container Publish / build-image (arm64) (push) Successful in 17s
Container Publish / build-image (amd64) (push) Successful in 1m5s
Container Publish / update docker manifest (push) Successful in 14s
Vulnerability Scan / Daily Vulnerability Scan (arm64, latest) (push) Successful in 12s
Vulnerability Scan / Daily Vulnerability Scan (arm64, latest-php74) (push) Successful in 6s
Vulnerability Scan / Daily Vulnerability Scan (amd64, latest) (push) Successful in 29s
Vulnerability Scan / Daily Vulnerability Scan (amd64, latest-php74) (push) Successful in 34s
fix dockerfile
2025-07-30 14:52:04 +02:00

29 lines
1.1 KiB
Docker

FROM alpine:3.21
RUN \
apk --no-cache upgrade && \
apk --no-cache add tini nginx curl logrotate openssh-server nginx-mod-http-dav-ext goaccess \
php84 php84-fpm php84-mbstring php84-curl php84-ctype php84-dom php84-gd php84-json php84-openssl php84-session php84-simplexml php84-xml php84-zip \
php84-apcu php84-opcache php84-pecl-yaml php84-sqlite3 php84-mysqli \
php83 php83-fpm php83-mbstring php83-curl php83-ctype php83-dom php83-gd php83-json php83-openssl php83-session php83-simplexml php83-xml php83-zip \
php83-apcu php83-opcache php83-pecl-yaml php83-sqlite3 php83-mysqli \
php82 php82-fpm php82-mbstring php82-curl php82-ctype php82-dom php82-gd php82-json php82-openssl php82-session php82-simplexml php82-xml php82-zip \
php82-apcu php82-opcache php82-pecl-yaml php82-sqlite3 php82-mysqli
COPY rootfs /
VOLUME [ "/data", "/ssh" ]
ENV \
USERNAME=theuser \
GROUPNAME=thegroup \
PHP=none \
PUID=1000 \
PGID=1000 \
WEBDAV_PORT=8080 \
TZ=Etc/UTC
HEALTHCHECK --timeout=10s CMD curl --silent --fail -o /dev/null http://127.0.0.1:80/
ENTRYPOINT [ "/sbin/tini", "/app/entrypoint.sh" ]