generated from Flycro/laravel-nuxt
fix: Fixed Problems in Docker Files
parent
32ff5f22dd
commit
e1092d616a
|
|
@ -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"]
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue