From 43792392b4e9b3213b39348eeaa002e13348df9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vi=CC=81ctor=20Falco=CC=81n?= Date: Mon, 24 Nov 2025 16:36:24 +0100 Subject: [PATCH] feat(Docker): Add Bun installation and update build process --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4d94cede..293d5d2c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,9 +26,11 @@ RUN pecl install memcached redis \ # Install Composer COPY --from=composer:latest /usr/bin/composer /usr/bin/composer -# Install Node.js and Bun +# Install Node.js RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \ && apt-get install -y nodejs + +# Install Bun RUN curl -fsSL https://bun.com/install | bash # Install memcached and redis servers @@ -47,8 +49,8 @@ RUN mkdir -p /var/log/nginx && mkdir -p /var/cache/nginx RUN composer install --no-dev --optimize-autoloader # Install Node.js dependencies and build assets -RUN bun install --frozen-lockfile \ - bun run build || echo "Build step failed, continuing..." +RUN bun install --frozen-lockfile +RUN bun run build # Copy supervisor configuration COPY docker/supervisor/supervisord.conf /etc/supervisor/conf.d/supervisord.conf