summaryrefslogtreecommitdiffci
path: root/Dockerfile
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 2 insertions, 7 deletions
diff --git a/Dockerfile b/Dockerfile
index d0b6621..44d1ea2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,9 +1,4 @@
-FROM golang:1.26.4-alpine3.24 AS build-stage
-
-ARG TARGETOS=linux
-ARG TARGETARCH=amd64
-ENV GOOS=${TARGETOS}
-ENV GOARCH=${TARGETARCH}
+FROM golang:1.26-alpine3.23 AS build-stage
RUN apk add --no-cache sqlite-dev musl-dev gcc
@@ -12,7 +7,7 @@ COPY . .
RUN go mod download
RUN CGO_ENABLED=1 go build -o sayana-web .
-FROM alpine:3.24 AS runtime-stage
+FROM alpine:3.23 AS runtime-stage
ENV ENVIRONMENT=""
ENV AUTH_SALT=""