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 44
44
# =======================================================
45
45
# 🐳 Docker Operations
46
46
# =======================================================
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'
48
57
run : |
49
58
# Step 1: Ensure the Docker network exists.
50
59
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
11
11
COPY package.json pnpm-lock.yaml ./
12
12
COPY prisma ./prisma
13
13
14
+
14
15
# 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
16
27
17
28
# Copy the rest of your application code
18
29
COPY . .
19
30
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
22
34
23
35
# Build the application
24
36
RUN pnpm build
You can’t perform that action at this time.
0 commit comments