Compare commits
No commits in common. "a66d7b9be92e78c5af70bff4df2fa10fe48aa826" and "73515f218353b07b9015688e7b82a37bb6ccde8f" have entirely different histories.
a66d7b9be9
...
73515f2183
11
Dockerfile
11
Dockerfile
@ -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"]
|
|
Loading…
Reference in New Issue
Block a user