Skip to content
Snippets Groups Projects
Verified Commit 7839982e authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

feat: update Docker configuration for Laravel Octane

- Added `working_dir` and `command` in `docker-compose.yml` to set up the working directory and command for Laravel Octane.
- Updated `Dockerfile` to set the working directory and specify the command to run Laravel Octane.
parent 51f3104b
Branches
No related tags found
1 merge request!52Ajout de Laravel Octane
Pipeline #967 passed
......@@ -23,4 +23,5 @@ RUN curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh && \
# Setting PHP Configuration
COPY docker-init/php.ini $PHP_INI_DIR/php.ini
WORKDIR /app
CMD [ "php artisan octane:frankenphp --workers=1 --max-requests=1" ]
\ No newline at end of file
......@@ -3,6 +3,8 @@ services:
build:
context: .
image: registry.gitlab.sl-projects.com/sofianelasri/rann-graphic-design-website:latest
working_dir: /app
command: php artisan octane:frankenphp --workers=1 --max-requests=1
ports:
- '80:8000'
- '5173:5173'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment