Skip to content

Commit

Permalink
Added Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul committed Feb 8, 2021
1 parent 3cca6ed commit c11b78c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# BUILDER
FROM golang:latest AS builder
WORKDIR /go/src/app
COPY . .

RUN go get -d -v ./...
RUN go build -o gee

# RUNNING
FROM debian:buster
RUN mkdir /app
WORKDIR /app/
COPY --from=builder /go/src/app/gee /app/gitls
CMD ["/app/gee"]

0 comments on commit c11b78c

Please sign in to comment.