Commit 6c272d59 authored by 贾浩@五瓣科技's avatar 贾浩@五瓣科技

update

parent 8b0b9e58
Pipeline #801 canceled with stages
### Example user template template
.idea
*.iml
out
gen
*.sol
*.txt
.DS_Store
*.exe
build
.history
nohup.out
# 构建阶段
FROM golang:1.21-alpine AS build
WORKDIR /app
COPY watermark.go .
COPY *.ttf /
RUN CGO_ENABLED=0 GOOS=linux go build -o watermark /app/watermark.go
# 最终阶段
FROM linuxserver/ffmpeg:7.0.1
COPY --from=build /app/watermark /usr/local/bin/watermark
EXPOSE 8080
ENTRYPOINT ["/usr/local/bin/watermark"]
\ No newline at end of file
File added
This diff is collapsed.
File added
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment