First commit

This commit is contained in:
root
2024-10-12 12:49:42 +01:00
commit bb49ef648a
11 changed files with 2728 additions and 0 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM alpine:latest
RUN apk update && apk upgrade
RUN apk add bash
RUN apk add nginx
RUN apk add php82 php82-fpm php82-opcache
RUN apk add php82-gd php82-zlib php82-curl php82-bz2 php82-gettext php82-ldap php82-mbstring php82-pdo php82-pdo_mysql php82-session php82-xml
COPY nginx /etc/nginx
COPY php /etc/php8.2
RUN mkdir /var/run/php
EXPOSE 80
STOPSIGNAL SIGTERM
CMD ["/bin/bash","-c", "php-fpm82 && chmod 777 /app && nginx -g 'daemon off;'"]