Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

Commit 4e296a5

Browse files
committed
[CD] wip
1 parent 1f7f174 commit 4e296a5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,5 @@ jobs:
7272
--volume=./maps:/app/storage/app/private \
7373
--volume=./caddy_config:/config \
7474
--volume=./data:/data \
75-
ghcr.io/$IMAGE_NAME:latest
75+
ghcr.io/$IMAGE_NAME:latest
76+
docker exec -it mapdb2 php artisan optimize

docker/frankenphp/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ RUN mkdir -p storage/framework/sessions && \
4444
# and run Laravel Octane to serve the app
4545
FROM phpbuilder AS app
4646

47-
RUN composer dump-autoload -o && \
48-
php artisan optimize
47+
RUN composer dump-autoload -o
4948

5049
EXPOSE 8000
5150
ENTRYPOINT ["php", "/app/artisan", "octane:frankenphp"]

0 commit comments

Comments
 (0)