A simple log server.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
273 B

FROM golang:1.17-alpine AS build
COPY ./ ./
RUN CGO_ENABLED=0 go build -installsuffix 'static' -o app
RUN chown 1000:1001 -R /src
FROM gcr.io/distroless/static AS final
COPY ./ /app
COPY --from=build /src/app /app/app
ENTRYPOINT ["/app/app"]