File tree Expand file tree Collapse file tree 2 files changed +25
-4
lines changed
Expand file tree Collapse file tree 2 files changed +25
-4
lines changed Original file line number Diff line number Diff line change 4444 # =======================================================
4545 # 🐳 Docker Operations
4646 # =======================================================
47- - name : ' 🚀 Build, Launch, and Update Services'
47+ - name : ' � Debug: List workspace files and show package.json'
48+ run : |
49+ echo '--- DEBUG: Listing workspace files ---'
50+ ls -alh
51+ echo '--- DEBUG: Showing package.json ---'
52+ cat package.json
53+ echo '--- DEBUG: Listing node_modules/.bin if exists ---'
54+ if [ -d node_modules/.bin ]; then ls -l node_modules/.bin; else echo "node_modules/.bin does not exist"; fi
55+
56+ - name : ' �🚀 Build, Launch, and Update Services'
4857 run : |
4958 # Step 1: Ensure the Docker network exists.
5059 if ! docker network ls | grep -q "codebuilder-net"; then
Original file line number Diff line number Diff line change @@ -11,14 +11,26 @@ RUN npm install -g pnpm
1111COPY package.json pnpm-lock.yaml ./
1212COPY prisma ./prisma
1313
14+
1415# Install dependencies
15- RUN pnpm install --unsafe-perm
16+ RUN pnpm install --unsafe-perm \
17+ && echo '--- DEBUG: pnpm version ---' \
18+ && pnpm --version \
19+ && echo '--- DEBUG: node version ---' \
20+ && node --version \
21+ && echo '--- DEBUG: npx version ---' \
22+ && npx --version \
23+ && echo '--- DEBUG: prisma version (if installed) ---' \
24+ && npx prisma --version || true \
25+ && echo '--- DEBUG: node_modules/.bin contents ---' \
26+ && ls -l node_modules/.bin || true
1627
1728# Copy the rest of your application code
1829COPY . .
1930
20- # Run Prisma Generate
21- RUN npx prisma generate
31+ # Debug before running prisma generate
32+ RUN echo '--- DEBUG: Running npx prisma generate ---' \
33+ && npx prisma generate
2234
2335# Build the application
2436RUN pnpm build
You can’t perform that action at this time.
0 commit comments