aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: 5db4ab0d0785906baca4a5b5bebf76d6526c11fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM golang:alpine

EXPOSE 80/tcp

ENTRYPOINT ["port"]

RUN \
    apk add --update git && \
    rm -rf /var/cache/apk/*

RUN mkdir -p /go/src/git.vulpes.one/Feuerfuchs/port
WORKDIR /go/src/git.vulpes.one/Feuerfuchs/port

COPY . /go/src/git.vulpes.one/Feuerfuchs/port

RUN go get -v -d
RUN go install -v git.vulpes.one/Feuerfuchs/port/...