derp, there's an alpine golang image

This commit is contained in:
Lewis Crichton
2023-04-07 18:49:55 +01:00
parent 6a9d9feef5
commit 10cc56d20b
+2 -2
View File
@@ -1,4 +1,4 @@
FROM golang:1.20 AS builder FROM golang:1.20-alpine AS builder
WORKDIR /app WORKDIR /app
@@ -6,7 +6,7 @@ ADD go.mod go.sum ./
RUN go mod download RUN go mod download
ADD . ./ ADD . ./
RUN CGO_ENABLED=0 go build -o backend RUN go build -o backend
FROM alpine:latest FROM alpine:latest