This commit is contained in:
Jeffrey Duroyon
2019-04-04 14:29:48 +02:00
committed by Jeffrey Duroyon
parent 0df6d64c35
commit 33db360b03
38 changed files with 1476 additions and 1 deletions

17
containers/Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
# build stage
ARG SOURCES_IMAGE
FROM $SOURCES_IMAGE as builder
RUN make local-build
# final stage
FROM alpine:3.7
RUN apk --no-cache add ca-certificates
WORKDIR /app
COPY --from=builder /go/bin/MamContract .
EXPOSE 8080
ENTRYPOINT ["/app/MamContract"]
CMD ["serve", "--logformat", "json", "--loglevel", "debug"]