ci-test
This commit is contained in:
parent
ce5a32065b
commit
a7a63bf9d8
2
.github/workflows/build_nix.yml
vendored
2
.github/workflows/build_nix.yml
vendored
@ -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
|
||||
|
@ -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' ]
|
||||
|
Loading…
Reference in New Issue
Block a user