mirror of
https://github.com/icereed/paperless-gpt.git
synced 2025-03-12 21:08:00 -05:00
Set Fixed Alpine Version (#217)
The Dockerfile lacks reproducibility during the build process if the container images in use are not pinned to a specific version.
This commit is contained in:
parent
e964fdb147
commit
d61337fed3
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ RUN sed -i \
|
||||||
RUN CGO_ENABLED=1 GOMAXPROCS=$(nproc) go build -tags musl -o paperless-gpt .
|
RUN CGO_ENABLED=1 GOMAXPROCS=$(nproc) go build -tags musl -o paperless-gpt .
|
||||||
|
|
||||||
# Stage 3: Create a lightweight image with just the binary
|
# Stage 3: Create a lightweight image with just the binary
|
||||||
FROM alpine:latest
|
FROM alpine:3.21.2
|
||||||
|
|
||||||
ENV GIN_MODE=release
|
ENV GIN_MODE=release
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue