From 6cd6dde4621b9c15e9c991aeb76adb37097808b9 Mon Sep 17 00:00:00 2001 From: Ryanpratama01 <220441100098@student.trunojoyo.ac.id> Date: Mon, 16 Mar 2026 02:25:57 +0700 Subject: [PATCH] tambah build vite untuk railway --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 6287f37..debaedd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,8 @@ RUN apt-get update && apt-get install -y \ libonig-dev \ libxml2-dev \ libicu-dev \ + nodejs \ + npm \ && docker-php-ext-configure gd --with-freetype --with-jpeg \ && docker-php-ext-install pdo pdo_mysql mbstring zip intl gd @@ -22,5 +24,7 @@ WORKDIR /app COPY . /app RUN composer install --no-interaction --optimize-autoloader --no-dev +RUN npm install +RUN npm run build CMD php artisan serve --host=0.0.0.0 --port=${PORT:-8080} \ No newline at end of file