Compare commits

..

No commits in common. "a66d7b9be92e78c5af70bff4df2fa10fe48aa826" and "73515f218353b07b9015688e7b82a37bb6ccde8f" have entirely different histories.

2 changed files with 1 additions and 12 deletions

View File

@ -1,11 +0,0 @@
FROM golang:alpine as builder
WORKDIR /app
COPY go.mod .
COPY go.sum .
RUN go mod download
COPY . .
RUN go build -o minipaste minipaste.go
FROM alpine:latest
COPY --from=builder /app/minipaste /usr/bin/minipaste
CMD ["/usr/bin/minipaste"]

2
go.mod
View File

@ -4,4 +4,4 @@ go 1.18
require github.com/google/uuid v1.3.0 require github.com/google/uuid v1.3.0
require github.com/go-chi/chi/v5 v5.0.7 require github.com/go-chi/chi/v5 v5.0.7 // indirect