opensaps/Dockerfile

15 lines
394 B
Docker
Raw Permalink Normal View History

FROM code.pztrn.name/containers/mirror/golang:1.18.3-alpine AS build
2019-09-25 21:23:30 +05:00
WORKDIR /go/src/gitlab.com/pztrn/opensaps
COPY . .
RUN go build
FROM code.pztrn.name/containers/mirror/alpine:3.16.0
2019-09-25 21:23:30 +05:00
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" ]