change template

This commit is contained in:
2025-08-27 00:05:04 +02:00
parent 2c109b945e
commit 83b3a23fe4
9 changed files with 66 additions and 25 deletions

View File

@@ -1,9 +1,9 @@
FROM golang:1.23.1-alpine3.20 as build
FROM golang:1.25.0-alpine3.22 as build
COPY . /src
RUN cd /src \
&& go build -o downloadhub \
&& go build -o downloadhub ./cmd/server \
&& mkdir -p ./fs/var/opt/downloadhub \
&& mkdir -p ./fs/opt/downloadhub \
&& cp downloadhub ./fs/opt/downloadhub/downloadhub