update reverb container

This commit is contained in:
2026-02-24 15:46:57 +01:00
parent 2c028bcfc1
commit 1fcc0365fa
2 changed files with 26 additions and 6 deletions
+2 -6
View File
@@ -96,17 +96,13 @@ services:
reverb:
build:
context: ./docker/php
context: ./docker/reverb
dockerfile: Dockerfile
container_name: app-reverb
environment:
- GIT_TOKEN=${GIT_TOKEN}
- BACKEND_GIT_REPO=${BACKEND_GIT_REPO}
- BACKEND_GIT_BRANCH=${BACKEND_GIT_BRANCH}
entrypoint: []
command: php artisan reverb:start --host=0.0.0.0 --port=8080
volumes:
- ./app-code:/var/www/app${DEV:+:delegated}
- ./app-code:/var/www/app:delegated
ports:
- "8080:8080"
depends_on:
+24
View File
@@ -0,0 +1,24 @@
FROM php:8.4-fpm
RUN apt-get update && apt-get install -y \
git \
unzip \
libzip-dev \
libpng-dev \
libonig-dev \
libxml2-dev \
&& docker-php-ext-install \
pdo \
pdo_mysql \
mbstring \
xml \
pcntl \
sockets \
zip \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
WORKDIR /var/www/app
EXPOSE 8080