build docker
This commit is contained in:
parent
b732e9d7d4
commit
cd148b9fa6
3 changed files with 60 additions and 0 deletions
10
Dockerfile
Normal file
10
Dockerfile
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# FROM golang:alpine AS builder
|
||||
# ADD . /src
|
||||
# WORKDIR /src
|
||||
# RUN go build -o /forgejo-pages
|
||||
|
||||
FROM alpine
|
||||
RUN apk add --no-cache ca-certificates
|
||||
# COPY --from=builder /forgejo-pages /usr/bin/forgejo-pages
|
||||
ADD forgejo-pages /usr/bin/forgejo-pages
|
||||
ENTRYPOINT ["forgejo-pages"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue