Docker Changes

This commit is contained in:
Moritz 2019-01-31 16:37:53 +01:00
parent 1e03bba52b
commit e64c0c78a6

View file

@ -1,7 +1,6 @@
FROM golang:latest FROM golang:latest
RUN mkdir /app RUN mkdir -p /app
ADD . /app/
WORKDIR /app WORKDIR /app
RUN go get -u ADD . /app
RUN go build -o main . RUN go build ./main.go
CMD ["/app/main"] CMD ["./main"]