update reverb container
This commit is contained in:
+2
-6
@@ -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:
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user