init
This commit is contained in:
17
containers/Dockerfile
Normal file
17
containers/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user