blob: 8e524287b70d10376b043a26b816749f1241447e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
FROM golang
# Install libraries
RUN go get \
github.com/gorilla/mux \
# 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/register src/*.go
ENTRYPOINT [ "/workdir/register" ]
|