about summary refs log tree commit diff
path: root/Dockerfile
blob: e0e783fb879c233bf8c839592abd2fe589109ced (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM golang

# Install libraries
RUN go get \
	github.com/gorilla/mux \
    golang.org/x/net


# Create workdir
RUN mkdir /workdir
WORKDIR /workdir

# Copy our sources
COPY src /workdir/src
COPY hosted /workdir/hosted
# and build them
RUN go build -o /workdir/landingpage src/*.go

ENTRYPOINT [ "/workdir/landingpage" ]