This commit is contained in:
Sense T
2024-04-23 14:53:49 +08:00
parent 29948d3c06
commit ce5a32065b
3 changed files with 5 additions and 3 deletions

View File

@@ -6,9 +6,9 @@ RUN cd web && npm i && npm run build
FROM golang as server
WORKDIR /src
COPY --stage web /src .
COPY --from web /src .
RUN go get . && go generate ./... && go build .
FROM scratch
COPY --stage server /src/reCoreD-UI .
COPY --from server /src/reCoreD-UI .
ENTRYPOINT [ '/reCoreD-UI' ]