build error

Job failed with exit code: 1. Reason: cache miss: [stage-1 2/10] RUN apt-get update && apt-get install -y --no-install-recommends postgresql-15 postgresql-contrib curl libvips-dev && rm -rf /var/lib/apt/lists/* cache miss: [builder 9/9] RUN npm run build cache miss: [stage-1 10/10] RUN echo '#!/bin/bash\nset -e\nif [ ! -s "$PGDATA/PG_VERSION" ]; then\n echo "Initialisation de PostgreSQL..." \n initdb -D "$PGDATA"\nfi\n\necho "unix_socket_directories = \x27/var/run/postgresql\x27" >> "$PGDATA/postgresql.conf"\necho "shared_buffers = 4GB" >> "$PGDATA/postgresql.conf"\necho "effective_cache_size = 12GB" >> "$PGDATA/postgresql.conf"\n\necho "Démarrage de PostgreSQL..." \npg_ctl -D "$PGDATA" -o "-k /var/run/postgresql" -l /tmp/postgres.log start\n\nuntil pg_isready -h /var/run/postgresql; do\n echo "Attente de PostgreSQL..." \n sleep 2\ndone\n\npsql -h /var/run/postgresql -d postgres -c "CREATE DATABASE medusa_db;" || true\n\nexport DATABASE_URL="postgres://node@/medusa_db?host=/var/run/postgresql"\n\necho "Migrations Medusa..." \nnpx medusa migrations run\n\necho "Lancement de l\x27Imperium Medusa sur le port $PORT..." \nexec npx medusa start --port $PORT' > /usr/local/bin/entrypoint.sh && chmod +x /usr/local/bin/entrypoint.sh cache miss: [builder 5/9] COPY package-lock.json* ./ cache miss: [builder 4/9] COPY package.json ./ cache miss: [builder 8/9] COPY . . cache miss: [builder 7/9] RUN npm install --legacy-peer-deps cache miss: [builder 6/9] RUN ls -la /app cache miss: [stage-1 3/10] WORKDIR /app cache miss: [stage-1 9/10] RUN mkdir -p /data/postgres /var/run/postgresql && chown -R node:node /app /data /var/run/postgresql cache miss: [stage-1 8/10] COPY --from=builder /app/src ./src cache miss: [builder 3/9] WORKDIR /app cache miss: [builder 2/9] RUN apt-get update && apt-get install -y --no-install-recommends python3 build-essential git ca-certificates libvips-dev && rm -rf /var/lib/apt/lists/* cache miss: [stage-1 6/10] COPY --from=builder /app/dist ./dist {"total":23,"completed":21,"user_total":18,"user_cached":3,"user_completed":16,"user_cacheable":17,"from":1,"miss":14,"client_duration_ms":323370}

Build logs:

Fetching error logs...