52a80b2c67
Updates https://github.com/storj/storj/issues/4489 Change-Id: I3585b50df598c69e58137f61b6a272dbd077c5be
22 lines
496 B
Docker
22 lines
496 B
Docker
ARG DOCKER_ARCH
|
|
ARG DOCKER_PLATFORM
|
|
|
|
FROM --platform=${DOCKER_PLATFORM:-linux/amd64} storjlabs/storagenode-base:155c07083-${DOCKER_ARCH:-amd64}
|
|
ARG TAG
|
|
ARG GOARCH
|
|
ARG VERSION_SERVER_URL
|
|
ENV GOARCH ${GOARCH:-amd64}
|
|
ENV VERSION_SERVER_URL ${VERSION_SERVER_URL:-https://version.storj.io}
|
|
EXPOSE 28967
|
|
EXPOSE 14002
|
|
COPY cmd/storagenode/docker/ /
|
|
WORKDIR /app
|
|
ENTRYPOINT ["/entrypoint"]
|
|
|
|
ENV ADDRESS="" \
|
|
EMAIL="" \
|
|
WALLET="" \
|
|
STORAGE="2.0TB" \
|
|
SETUP="false" \
|
|
AUTO_UPDATE="true"
|