Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -11,8 +11,9 @@ RUN git clone https://github.com/Quorinex/Kiro-Go.git /src \
|
|
| 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
|
| 15 |
RUN npm install && npm run build
|
|
|
|
| 16 |
RUN go build -o /new-api .
|
| 17 |
|
| 18 |
# βββββββββββββββββββββββββββββββββββββββββββββ
|
|
|
|
| 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 |
|
| 19 |
# βββββββββββββββββββββββββββββββββββββββββββββ
|