summaryrefslogtreecommitdiff
path: root/Dockerfile
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 7230149..318ca51 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,12 +1,13 @@
-FROM golang:1.25.3-alpine3.22 AS build-stage
+FROM golang:1.26-alpine3.23 AS build-stage
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.22.2 AS runtime-stage
+FROM alpine:3.23 AS runtime-stage
ENV ENVIRONMENT=""
ENV AUTH_SALT=""