Forgotten Dockerfile :)
This commit is contained in:
parent
da0942e794
commit
d33062598e
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
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" ]
|
Loading…
Reference in New Issue
Block a user