split _do_build_server

This commit is contained in:
sentriz
2021-02-06 19:16:24 +00:00
parent 76875de87b
commit fab02aa307
2 changed files with 1 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ COPY go.mod .
COPY go.sum . COPY go.sum .
RUN go mod download RUN go mod download
COPY . . COPY . .
RUN ./_do_gen_assets
RUN ./_do_build_server RUN ./_do_build_server
FROM alpine:3.12.3 FROM alpine:3.12.3

View File

@@ -1,5 +1,4 @@
#!/bin/sh #!/bin/sh
# using sh, is run from alpine # using sh, is run from alpine
./_do_gen_assets
go build -o gonic cmd/gonic/main.go go build -o gonic cmd/gonic/main.go