Add docker support
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -1,11 +0,0 @@
|
||||
FROM golang:1.22-alpine
|
||||
|
||||
ENV GOPROXY=https://goproxy.cn
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ../. /app/
|
||||
|
||||
RUN go build -o certimate
|
||||
|
||||
ENTRYPOINT ["./certimate", "serve", "--http", "0.0.0.0:8090"]
|
||||
Reference in New Issue
Block a user