Fix alpine build
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user