storj/cmd/storj-node/Dockerfile
2018-04-06 12:32:34 -04:00

12 lines
275 B
Docker

# 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