improve local dev + contribution guide

This commit is contained in:
Andras Bacsai
2023-12-13 11:12:53 +01:00
parent f3b04c1ef9
commit 00d708610d
13 changed files with 45 additions and 28 deletions

View File

@@ -2,7 +2,7 @@ FROM serversideup/php:8.2-fpm-nginx
ARG TARGETPLATFORM
# https://github.com/cloudflare/cloudflared/releases
ARG CLOUDFLARED_VERSION=2023.8.2
ARG CLOUDFLARED_VERSION=2023.10.0
ARG POSTGRES_VERSION=15
RUN apt-get update

View File

@@ -0,0 +1 @@
oneshot

View File

@@ -0,0 +1,4 @@
#!/command/execlineb -P
foreground { composer -d /var/www/html/ install }
foreground { php /var/www/html/artisan key:generate }
foreground { php /var/www/html/artisan migrate --step }

View File

@@ -15,7 +15,7 @@ FROM serversideup/php:8.2-fpm-nginx
ARG TARGETPLATFORM
# https://github.com/cloudflare/cloudflared/releases
ARG CLOUDFLARED_VERSION=2023.8.2
ARG CLOUDFLARED_VERSION=2023.10.0
ARG POSTGRES_VERSION=15
WORKDIR /var/www/html