「🏗️」 wip(Refont): Change the strucuture to be a real projet and will certainly never do bash again
This commit is contained in:
26
docker/wordpress/Dockerfile
Normal file
26
docker/wordpress/Dockerfile
Normal file
@ -0,0 +1,26 @@
|
||||
FROM alpine:3.21
|
||||
|
||||
LABEL version="0.1"
|
||||
LABEL maintainer="KeyZox"
|
||||
|
||||
RUN set -eux; \
|
||||
adduser -u 82 -D -S -G www-data www-data
|
||||
|
||||
RUN set -x \
|
||||
&& apk add --no-cache php84-fpm wget
|
||||
|
||||
VOLUME /var/www/html
|
||||
|
||||
WORKDIR /var/www/html
|
||||
RUN wget https://wordpress.org/wordpress-6.7.1.tar.gz
|
||||
&& tar -xzvf wordpress-6.7.1.zip
|
||||
|
||||
COPY docker-entrypoint.sh /
|
||||
RUN [ "chmod", "+x", "/docker-entrypoint.sh" ]
|
||||
|
||||
ENTRYPOINT [ "/docker-entrypoint.sh" ]
|
||||
WORKDIR /var/www/html
|
||||
STOPSIGNAL SIGQUIT
|
||||
|
||||
EXPOSE 9000
|
||||
CMD [ "php-fpm84", "-F" ]
|
Reference in New Issue
Block a user