1
0

🏗️」 wip(Refont): Change the strucuture to be a real projet and will certainly never do bash again

This commit is contained in:
2025-01-04 18:21:46 +01:00
parent 774b012871
commit 22f0eaf29e
28 changed files with 2102 additions and 26 deletions

View 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" ]