Add docker support

This commit is contained in:
yoan
2024-08-27 22:09:55 +08:00
parent 9bc83b2370
commit f3c84489e9
6 changed files with 52 additions and 0 deletions

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM golang:1.22-alpine
WORKDIR /app
COPY ../. /app/
RUN go build -o certimate
ENTRYPOINT ["./certimate", "serve", "--http", "0.0.0.0:8090"]