Files
cunicu/Dockerfile
T
Steffen Vogel 672770022c second batch of project name changes
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-09-08 17:42:12 +02:00

24 lines
281 B
Docker

FROM golang:1.19-alpine AS builder
RUN apk add \
git \
make \
protoc
COPY Makefile .
RUN make install-deps
WORKDIR /app
COPY go.mod ./
COPY go.sum ./
RUN go mod download
COPY . .
RUN make
FROM alpine:3.16
COPY --from=builder /app/cunicu /
ENTRYPOINT ["/cunicu"]