mirror of
https://github.com/denyskon/teabag
synced 2024-11-22 06:50:40 +01:00
Denys Konovalov
a67699f9d2
changes: - gitea-only now - simplify code - add docker image - update deps
19 lines
242 B
Docker
19 lines
242 B
Docker
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" ] |