Simplify accounts Dockerfile.

This commit is contained in:
Ivaylo Novakov 2020-12-18 17:22:19 +01:00
parent f6b74f15a7
commit ed95ef6585
No known key found for this signature in database
GPG Key ID: 06B9354AB08BE9C6
1 changed files with 4 additions and 6 deletions

View File

@ -6,12 +6,10 @@ ENV GOARCH amd64
WORKDIR /root WORKDIR /root
RUN go get -d -u github.com/NebulousLabs/skynet-accounts/... && \ RUN git clone --single-branch --branch main https://github.com/NebulousLabs/skynet-accounts.git && \
ln -s $GOPATH/src/github.com/NebulousLabs/skynet-accounts ./ && \ cd skynet-accounts && \
cd $GOPATH/src/github.com/NebulousLabs/skynet-accounts && \ go mod download && \
make release && \ make release
cd && \
rm -rf $GOPATH/src/github.com/NebulousLabs/skynet-accounts
ENV SKYNET_DB_HOST="localhost" ENV SKYNET_DB_HOST="localhost"
ENV SKYNET_DB_PORT="27017" ENV SKYNET_DB_PORT="27017"