about summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorhanemile <hanemile@protonmail.com>2018-12-24 22:47:07 +0100
committerhanemile <hanemile@protonmail.com>2018-12-24 22:47:07 +0100
commit4fb83ecfe52b28296d3ba7ca69b7ab2366a87e6c (patch)
tree87603a57eb576a3f5e1af8d7e441c10e84fc84b8 /Dockerfile
parent7fac054f8209467ae1bbfae7b470fa53e92f7d3e (diff)
overall push
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 10 insertions, 0 deletions
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"]