Add docker support
This commit is contained in:
11
Dockerfile_build
Normal file
11
Dockerfile_build
Normal file
@@ -0,0 +1,11 @@
|
||||
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