sft0farid commited on
Commit
3e76aa6
·
verified ·
1 Parent(s): 956dd3d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -10,9 +10,10 @@ RUN git clone https://github.com/Quorinex/Kiro-Go.git /src \
10
  # Builder 2: New API
11
  FROM golang:1.22-alpine AS newapi-builder
12
  RUN apk add --no-cache git nodejs npm
 
13
  RUN git clone https://github.com/QuantumNous/new-api.git /src
14
  WORKDIR /src/web
15
- RUN npm install && npm run build
16
  WORKDIR /src
17
  RUN go build -o /new-api .
18
 
 
10
  # Builder 2: New API
11
  FROM golang:1.22-alpine AS newapi-builder
12
  RUN apk add --no-cache git nodejs npm
13
+ RUN npm install -g pnpm
14
  RUN git clone https://github.com/QuantumNous/new-api.git /src
15
  WORKDIR /src/web
16
+ RUN pnpm install && pnpm run build
17
  WORKDIR /src
18
  RUN go build -o /new-api .
19