docker-webserver-nginx/Dockerfile

18 lines
312 B
Docker
Raw Normal View History

2024-12-13 09:00:45 +00:00
FROM alpine:3.21
RUN \
apk -U upgrade && \
apk add tini nginx gettext-envsubst openssh-server php84 php84-fpm php83 php83-fpm php82 php82-fpm
COPY rootfs /
2024-12-13 10:34:16 +00:00
VOLUME [ "/data/www", "/ssh" ]
2024-12-13 09:00:45 +00:00
ENV \
USERNAME=theuser \
2024-12-15 08:39:25 +00:00
PHP=none \
PUID=1000 \
PGID=1000
2024-12-13 09:00:45 +00:00
ENTRYPOINT [ "/sbin/tini", "/app/entrypoint.sh" ]