19 lines
310 B
Docker
Raw Normal View History

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