fix: Fixed Problems in Docker Files

main
Flycro 2024-03-21 00:35:35 +01:00
parent 32ff5f22dd
commit e1092d616a
2 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,6 @@
FROM dunglas/frankenphp
RUN install-php-extensions pcntl
RUN install-php-extensions pcntl pdo_pgsql pgsql
#ENV SERVER_NAME=bookstack.octolabs.net
ENV SERVER_NAME=:80
@ -8,4 +8,7 @@ ENV SERVER_NAME=:80
COPY . /app
RUN composer install --no-dev --optimize-autoloader
RUN php artisan storage:link
ENTRYPOINT ["php", "artisan", "octane:frankenphp"]

View File

@ -1,3 +1,4 @@
services:
php:
image: dunglas/frankenphp
@ -9,6 +10,7 @@ services:
networks:
- laravel
volumes:
- './storage/app/public:/app/storage/public'
- caddy_data:/data
- caddy_config:/config
redis: