Skip to content

Commit

Permalink
Merge pull request #87 from RonasIT/update-to-php8.3-testing-dockerfile
Browse files Browse the repository at this point in the history
Update to php8.3, update dockerfile
  • Loading branch information
DenTray authored Jul 8, 2024
2 parents 34654ab + 9576580 commit 023ca74
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@ ENV WEB_DOCUMENT_ROOT /app/public
ENV WEB_DOCUMENT_INDEX index.php

WORKDIR /app
COPY . /app
RUN chown -R application:www-data /app
USER application
COPY --chown=1000:1000 . /app/
RUN composer install --no-dev --optimize-autoloader
1 change: 0 additions & 1 deletion app/Providers/DevDependenciesServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ public function boot(): void
// To use "require-dev" dependencies, their providers should be registered via full namespace
// TODO: restore when the dependency would be updated
//App::register(\RonasIT\Support\EntityGeneratorServiceProvider::class);
App::register(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class);
}
}

Expand Down
2 changes: 1 addition & 1 deletion config/auto-doc.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
'jwt' => [
'type' => 'apiKey',
'name' => 'Authorization',
'in' => 'header'
'in' => 'header',
],
'laravel' => [
'type' => 'apiKey',
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
WEB_DOCUMENT_ROOT: /app/public
WEB_DOCUMENT_INDEX: index.php
REDIS_PORT: "6379"
php.xdebug.max_nesting_level: 250
XDEBUG_MAX_NESTING_LEVEL: 250
XDEBUG_PROFILER_ENABLE: 0
XDEBUG_START_WITH_REQUEST: 1
XDEBUG_DISCOVER_CLIENT_HOST: 0
Expand Down

0 comments on commit 023ca74

Please sign in to comment.