diff --git a/Dockerfile b/Dockerfile index f746309d..4d94cede 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,10 +26,10 @@ RUN pecl install memcached redis \ # Install Composer COPY --from=composer:latest /usr/bin/composer /usr/bin/composer -# Install Node.js and pnpm +# Install Node.js and Bun RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \ - && apt-get install -y nodejs \ - && npm install -g pnpm + && apt-get install -y nodejs +RUN curl -fsSL https://bun.com/install | bash # Install memcached and redis servers RUN apt-get update && apt-get install -y memcached redis-server && rm -rf /var/lib/apt/lists/* @@ -47,8 +47,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 i --frozen-lockfile -RUN bun run build || echo "Build step failed, continuing..." +RUN bun install --frozen-lockfile \ + bun run build || echo "Build step failed, continuing..." # Copy supervisor configuration COPY docker/supervisor/supervisord.conf /etc/supervisor/conf.d/supervisord.conf