gull/Dockerfile
2020-05-12 22:33:51 -07:00

14 lines
201 B
Docker

FROM golang:alpine
LABEL maintainer="aeolyus"
WORKDIR /app
COPY . .
RUN apk add --no-cache git gcc musl-dev
RUN go get -d -v ./...
RUN go install -v ./...
VOLUME /app/data
EXPOSE 8081
CMD ["gull"]