mirror of
https://github.com/denyskon/teabag
synced 2025-03-15 09:00:27 +01:00
v1.0.0
changes: - gitea-only now - simplify code - add docker image - update deps
This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal 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" ]
|
Reference in New Issue
Block a user