only main go
This commit is contained in:
parent
8ed735698b
commit
5bb3e7781a
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
FROM golang:latest
|
FROM golang:latest
|
||||||
RUN mkdir -p /app
|
RUN mkdir -p /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ADD . /app
|
ADD main.go /app
|
||||||
RUN go get -u
|
RUN go get -u
|
||||||
RUN go build ./main.go
|
RUN go build ./main.go
|
||||||
CMD ["./main"]
|
CMD ["./main"]
|
Loading…
Reference in a new issue