summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <saya.andy@posteo.com> 2026-05-04 15:50:53 +0700
committerGravatar SayaAndy <saya.andy@posteo.com> 2026-05-04 15:50:53 +0700
commit38cb561f5f9048d26ac7f38176c928fd4e7f32df (patch)
treecb1411d0898ea7a5b5970c88831eaccd30478bc6 /Dockerfile
parent7b1aca39816f4b82ddf9c4ced83275d56e1b8780 (diff)
downloadweb-38cb561f5f9048d26ac7f38176c928fd4e7f32df.tar.gz
web-38cb561f5f9048d26ac7f38176c928fd4e7f32df.zip
feat: enable gha buildx cache
fix: use sha short from single source
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 5c38111..318ca51 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,6 +4,7 @@ RUN apk add --no-cache sqlite-dev musl-dev gcc
WORKDIR /builddir
COPY . .
+RUN go mod download
RUN CGO_ENABLED=1 go build -o sayana-web .
FROM alpine:3.23 AS runtime-stage