opensaps/Dockerfile

15 lines
322 B
Docker
Raw Normal View History

2019-09-25 21:23:30 +05:00
FROM golang:1.13-alpine AS build
WORKDIR /go/src/gitlab.com/pztrn/opensaps
COPY . .
RUN go build
FROM alpine:3.10
LABEL maintainer "Stanislav N. <pztrn@pztrn.name>"
COPY --from=build /go/src/gitlab.com/pztrn/opensaps/opensaps /app/opensaps
EXPOSE 25544
ENTRYPOINT [ "/app/opensaps", "-config", "/app/opensaps.yaml" ]