Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| aa76b5ad79 | |||
| 84496271c4 |
+6
-1
@@ -1,7 +1,12 @@
|
||||
FROM docker.io/arm32v7/nginx:1.30.3-alpine3.23
|
||||
RUN apk --update add php85-fpm
|
||||
COPY http/vendor /usr/share/nginx/vendor
|
||||
COPY http/php /usr/share/nginx/php
|
||||
COPY http/out /usr/share/nginx/html
|
||||
COPY http/php-fpm.conf /etc/php85/php-fpm.d/joeac.net-http_pool.conf
|
||||
COPY http/nginx.conf /etc/nginx/nginx.conf
|
||||
CMD php-fpm85 && nginx -g "daemon off;"
|
||||
CMD mkdir -p "$(dirname "$DB_PATH")" \
|
||||
&& touch $DB_PATH \
|
||||
&& chmod -R o+w "$(dirname "$DB_PATH")" \
|
||||
&& php-fpm85 \
|
||||
&& nginx -g "daemon off;"
|
||||
|
||||
Reference in New Issue
Block a user