Files
cunicu/Dockerfile
Steffen Vogel 3bee839348 fix: Update copyright years
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2025-01-01 22:45:39 +01:00

27 lines
393 B
Docker

# SPDX-FileCopyrightText: 2023-2025 Steffen Vogel <post@steffenvogel.de>
# SPDX-License-Identifier: Apache-2.0
FROM golang:1.23-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.21
COPY --from=builder /app/cunicu /
ENTRYPOINT ["/cunicu"]