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
RUN mkdir /app
ADD . /app/
RUN mkdir -p /app
WORKDIR /app
RUN go get -u
RUN go build -o main .
CMD ["/app/main"]
ADD . /app
RUN go build ./main.go
CMD ["./main"]