This commit is contained in:
2026-04-05 20:14:30 +00:00
parent 22ac0aa781
commit 1606778518
12 changed files with 130 additions and 57 deletions

View File

@@ -4,6 +4,7 @@ FROM php:8.3-fpm
RUN apt-get update && apt-get install -y \
git \
curl \
netcat-openbsd \
libpng-dev \
libjpeg62-turbo-dev \
libfreetype6-dev \
@@ -58,6 +59,7 @@ RUN if [ -f package-lock.json ]; then \
COPY . .
RUN mkdir -p bootstrap/cache storage/framework/cache storage/framework/sessions storage/framework/views storage/logs storage/app
RUN if [ ! -f .env ] && [ -f .env.example ]; then cp .env.example .env; fi
RUN date -u +%Y%m%d%H%M%S > .image-build-id
RUN composer dump-autoload --optimize --no-interaction
RUN npm run build