Fix alpine build

This commit is contained in:
2025-08-14 14:48:53 +03:00
parent a1c394ba89
commit 7b4a1462e6
3 changed files with 6 additions and 5 deletions

View File

@@ -4,6 +4,7 @@ FROM docker.io/library/golang:1.24-alpine AS build-env
# Install build dependencies
RUN apk --no-cache add \
build-base \
sqlite-dev \
&& rm -rf /var/cache/apk/*
# Set up the working directory
@@ -19,7 +20,7 @@ RUN go mod download
COPY . .
# Build the application
RUN CGO_ENABLED=0 go build -tags sqlite_allow_null_time -o transcriber .
RUN go build -o transcriber .
# ----------------
# Production stage