storj/cmd/storagenode/Dockerfile
2018-12-04 16:10:23 -05:00

16 lines
399 B
Docker

ARG CGO_ENABLED=1
ARG REPOSITORY=../storj.io/storj
ARG PACKAGE=storj.io/storj/cmd/storagenode
FROM storjlabs/golang as build-env
# final stage
FROM alpine
ENV CONF_PATH=/root/.local/share/storj/storagenode/config.yaml \
SATELLITE_ADDR=
EXPOSE 7776/udp \
7777
WORKDIR /app
COPY --from=build-env /app /app/storagenode
COPY cmd/storagenode/entrypoint /entrypoint
ENTRYPOINT ["/entrypoint"]