From 4fb83ecfe52b28296d3ba7ca69b7ab2366a87e6c Mon Sep 17 00:00:00 2001 From: hanemile Date: Mon, 24 Dec 2018 22:47:07 +0100 Subject: overall push --- Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2396314 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM golang:latest + +WORKDIR /home + +COPY main.go /home/main.go + +RUN ["go", "get", "github.com/gorilla/mux"] +RUN ["go", "get", "git.darknebu.la/GalaxySimulator/structs"] + +ENTRYPOINT ["go", "run", "/home/main.go"] -- cgit 1.4.1