about summary refs log tree commit diff
path: root/Dockerfile
blob: 95a29eb69771c8d691ae55bfbbfc17a1ca3896eb (plain)
1
2
3
4
5
6
7
8
9
10
11
FROM golang:latest

WORKDIR /home

COPY main.go /home/main.go

RUN ["mkdir", "/exports"]
RUN ["go", "get", "github.com/gorilla/mux"]
RUN ["go", "get", "git.darknebu.la/GalaxySimulator/structs"]

ENTRYPOINT ["go", "run", "/home/main.go"]