CaIon 1 anno fa
parent
commit
66e30f4115
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -17,7 +17,7 @@ WORKDIR /build
 ADD go.mod go.sum ./
 RUN go mod download
 COPY . .
-COPY --from=builder /build/build ./web/build
+COPY --from=builder /build/dist ./web/dist
 RUN go build -ldflags "-s -w -X 'one-api/common.Version=$(cat VERSION)' -extldflags '-static'" -o one-api
 
 FROM alpine