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

# Setup the work directory
WORKDIR /home

# Copy the files to the WORKDIR
COPY main.go /home/main.go

# Install go packages
RUN ["go", "get", "github.com/gorilla/mux"]

# Start the webserver
ENTRYPOINT ["go", "run", "/home/main.go"]