add: wordpress docker

This commit is contained in:
mcolonna 2025-06-09 15:37:05 +02:00
parent 2484c20af5
commit aa2a0d6f71
11 changed files with 137 additions and 159 deletions

View file

@ -0,0 +1,24 @@
# TODO(any)(latest)
FROM alpine:latest
# EXPOSE
EXPOSE 9000
# install packages
RUN apk update
RUN apk add php-fpm
RUN apk fix
RUN addgroup -S www
RUN adduser -D -S -G www www
#RUN apk add curl
# install wordpress
# RUN mkdir -p /www
# RUN curl https://wordpress.org/latest.tar.gz | tar zx -C /www
# add config
COPY /conf/ /etc/php83/
# start
CMD ["php-fpm83", "-F"]