11 lines
252 B
Docker
11 lines
252 B
Docker
FROM docker.io/alpine:latest
|
|
|
|
RUN apk update && \
|
|
apk add tini nginx php-fpm && \
|
|
adduser -D -g 'www' www && \
|
|
mkdir /www && \
|
|
chown -R www:www /var/lib/nginx && \
|
|
chown -R www:www /www
|
|
|
|
ENTRYPOINT ["tini", "--"]
|
|
CMD ["/opt/run.sh"] |