about summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorhanemile <hanemile@protonmail.com>2018-12-22 16:13:05 +0100
committerhanemile <hanemile@protonmail.com>2018-12-22 16:13:05 +0100
commite9555c1739896b7f6fd4a223c175e9f96815dea2 (patch)
tree066c2ec409f71c8ba6e051c7bb925ee23d8b4ecd /Dockerfile
parente0ec5e7ee6b9f4b285267a09f6680ce353dc4bcf (diff)
simple hello world service
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"]