update 4 docker CI

This commit is contained in:
root
2026-03-09 16:50:25 -04:00
parent af250d9fd4
commit 380740e4c8
2 changed files with 4 additions and 4 deletions
+2 -1
View File
@@ -14,4 +14,5 @@ RUN apt-get update \
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
WORKDIR /app ENV APP_DIR=/app
WORKDIR ${APP_DIR}
+2 -3
View File
@@ -1,12 +1,12 @@
services: services:
app: app:
build: build:
context: ${WORKSPACE:-/opt/lampp/htdocs/alrahma_sunday_school_api} context: .
dockerfile: Dockerfile.ci dockerfile: Dockerfile.ci
container_name: alrahma_ci_app container_name: alrahma_ci_app
working_dir: /app working_dir: /app
volumes: volumes:
- ${WORKSPACE:-/opt/lampp/htdocs/alrahma_sunday_school_api}:/app - .:/app
environment: environment:
APP_ENV: testing APP_ENV: testing
APP_KEY: base64:testingKey123456789012345678901234567890= APP_KEY: base64:testingKey123456789012345678901234567890=
@@ -16,4 +16,3 @@ services:
QUEUE_CONNECTION: sync QUEUE_CONNECTION: sync
SESSION_DRIVER: array SESSION_DRIVER: array
MAIL_MAILER: log MAIL_MAILER: log
command: sh -lc "echo WORKSPACE=\${WORKSPACE} && pwd && ls -la /app && ls -la && test -f composer.json && composer install --no-interaction --prefer-dist --no-progress"