「✨」 feat(Mariadb): Started dockerfile
This commit is contained in:
@ -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" ]
|
||||
|
3
srcs/requirements/wordpress/docker-entrypoint.sh
Normal file
3
srcs/requirements/wordpress/docker-entrypoint.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec "$@"
|
Reference in New Issue
Block a user