summaryrefslogtreecommitdiff
path: root/Dockerfile
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 318ca51..4388e5d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,13 +1,12 @@
-FROM golang:1.26-alpine3.23 AS build-stage
+FROM golang:1.24.6-alpine3.22 AS build-stage
-RUN apk add --no-cache sqlite-dev musl-dev gcc
+RUN apk add --no-cache sqlite-dev
WORKDIR /builddir
COPY . .
-RUN go mod download
RUN CGO_ENABLED=1 go build -o sayana-web .
-FROM alpine:3.23 AS runtime-stage
+FROM alpine:3.22.1 AS runtime-stage
ENV ENVIRONMENT=""
ENV AUTH_SALT=""