Skip to content
Snippets Groups Projects
Verified Commit 6193766d authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Improve docker images

parent 29e0a6a9
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,8 @@ COPY *.go go.* ./ ...@@ -7,7 +7,8 @@ COPY *.go go.* ./
RUN go mod download RUN go mod download
RUN CGO_ENABLED=false go build -o app . RUN CGO_ENABLED=false go build -o app .
FROM gcr.io/distroless/static FROM alpine:3.10
RUN apk add --no-cache ca-certificates
WORKDIR / WORKDIR /
COPY --from=go_builder /go/src/app/app /app COPY --from=go_builder /go/src/app/app /app
COPY templates /templates COPY templates /templates
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment