This commit is contained in:
Sense T 2024-04-23 14:57:06 +08:00
parent ce5a32065b
commit a7a63bf9d8
2 changed files with 3 additions and 3 deletions

View File

@ -10,4 +10,4 @@ jobs:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v12
- name: Building package
run: nix build
run: nix build --extra-experimental-features nix-command --extra-experimental-features flakes

View File

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