diff options
author | hanemile <hanemile@protonmail.com> | 2019-01-22 12:23:54 +0100 |
---|---|---|
committer | hanemile <hanemile@protonmail.com> | 2019-01-22 12:23:54 +0100 |
commit | e1ec6a26489b311ca5368fd227b527e6591882ee (patch) | |
tree | 8b34fb6959275c3e9de8bc1cd19f7dcc4308f3d3 /Dockerfile | |
parent | 29d78e9576d0d0331cf411fd027ab60aaf296b23 (diff) |
updated the api description
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile index 95a29eb..f8db51c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,11 @@ FROM golang:latest WORKDIR /home -COPY main.go /home/main.go +COPY *.go /home/ RUN ["mkdir", "/exports"] RUN ["go", "get", "github.com/gorilla/mux"] RUN ["go", "get", "git.darknebu.la/GalaxySimulator/structs"] +RUN ["ls", "-l"] -ENTRYPOINT ["go", "run", "/home/main.go"] +ENTRYPOINT ["go", "run", "."] |