Simplify accounts Dockerfile.
This commit is contained in:
parent
f6b74f15a7
commit
ed95ef6585
|
@ -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"
|
||||||
|
|
Reference in New Issue