blob: bc5197ecd0858428055624fe440b6a3f09438288 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
FROM golang:alpine as build
WORKDIR /
COPY . .
RUN go build -o ./app ./cmd/dbasik-api
FROM scratch
COPY --from=build /app /app
COPY --from=build /.env /.env
CMD ["/app"]
|