opensaps/Dockerfile
Stanislav N. aka pztrn 24644dba93
Some checks failed
continuous-integration/drone Build is failing
Update Drone configuration and Dockerfile to use mirrorred images.
Expecting pipeline to fail.
2022-06-29 00:37:02 +05:00

15 lines
394 B
Docker

FROM code.pztrn.name/containers/mirror/golang:1.18.3-alpine AS build
WORKDIR /go/src/gitlab.com/pztrn/opensaps
COPY . .
RUN go build
FROM code.pztrn.name/containers/mirror/alpine:3.16.0
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" ]