Renovate Bot
1ae3a0c096
All checks were successful
continuous-integration/drone/push Build is passing
16 lines
333 B
Docker
16 lines
333 B
Docker
FROM golang:1-alpine AS build
|
|
|
|
COPY . /go/src/git.nemunai.re/idfm-api
|
|
WORKDIR /go/src/git.nemunai.re/idfm-api
|
|
RUN go get -v && go generate -v && go build -v -ldflags="-s -w"
|
|
|
|
|
|
FROM alpine:3.20
|
|
|
|
EXPOSE 8080
|
|
CMD ["/srv/idfm-api"]
|
|
|
|
RUN apk add --no-cache tzdata
|
|
|
|
COPY --from=build /go/src/git.nemunai.re/idfm-api/idfm-api /srv/idfm-api
|