mirror of
https://github.com/denyskon/teabag
synced 2024-11-14 07:50:58 +01:00
19 lines
242 B
Docker
19 lines
242 B
Docker
FROM golang:1.20-alpine
|
|
|
|
LABEL org.opencontainers.image.source = "https://github.com/denyskon/teabag"
|
|
|
|
WORKDIR /app
|
|
|
|
COPY go.mod ./
|
|
COPY go.sum ./
|
|
|
|
RUN go mod download
|
|
|
|
COPY *.go ./
|
|
|
|
RUN go build -o ./teabag
|
|
|
|
EXPOSE 3000
|
|
|
|
|
|
CMD [ "./teabag" ] |