changes:
- gitea-only now
- simplify code
- add docker image
- update deps
This commit is contained in:
2023-02-05 14:34:48 +01:00
parent 9909a9175c
commit a67699f9d2
10 changed files with 252 additions and 349 deletions

19
Dockerfile Normal file
View File

@ -0,0 +1,19 @@
LABEL org.opencontainers.image.source = "https://github.com/denyskon/teabag"
FROM golang:1.19-alpine
WORKDIR /app
COPY go.mod ./
COPY go.sum ./
RUN go mod download
COPY *.go ./
RUN go build -o ./teabag
EXPOSE 3000
CMD [ "./teabag" ]