storj/cmd/storj-node/Dockerfile

12 lines
275 B
Docker
Raw Normal View History

2018-04-06 17:32:34 +01:00
# build
FROM golang:alpine AS build-env
ADD . /go/src/research/lang/storj-node-go/
RUN cd /go/src/research/lang/storj-node-go/ && go build -o main
# final stage
FROM alpine
WORKDIR /app
COPY --from=build-env /go/src/research/lang/storj-node-go/main /app/
ENTRYPOINT ./main