changing docker pattern, and default app

This commit is contained in:
nathan wagner
2022-07-19 14:24:49 +00:00
parent e60ec1ead1
commit 744ba64869
2 changed files with 57 additions and 14 deletions

View File

@@ -1,7 +1,11 @@
from registry.local/rgbarm64lib:latest
from registry.local/rgbarm64lib:latest as builder
workdir /usr/src/app/work
COPY . .
RUN go mod tidy
RUN go build .
RUN go build .
FROM ALPINE:latest
COPY --from=builder /usr/src/app/work/rgb /rgb