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