This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
2020-12-10 17:52:50 +00:00
|
|
|
FROM golang:1.15
|
|
|
|
LABEL maintainer="NebulousLabs <devs@nebulous.tech>"
|
|
|
|
|
|
|
|
ENV GOOS linux
|
|
|
|
ENV GOARCH amd64
|
|
|
|
|
|
|
|
WORKDIR /root
|
|
|
|
|
2020-12-10 18:26:01 +00:00
|
|
|
RUN go get -d -u github.com/NebulousLabs/skynet-accounts/... && \
|
2020-12-10 17:52:50 +00:00
|
|
|
ln -s $GOPATH/src/github.com/NebulousLabs/skynet-accounts ./ && \
|
|
|
|
cd $GOPATH/src/github.com/NebulousLabs/skynet-accounts && \
|
|
|
|
make release && \
|
|
|
|
cd && \
|
|
|
|
rm -rf $GOPATH/src/github.com/NebulousLabs/skynet-accounts
|
|
|
|
|
|
|
|
ENV SKYNET_DB_HOST="localhost"
|
|
|
|
ENV SKYNET_DB_PORT="27017"
|
|
|
|
ENV SKYNET_DB_USER="username"
|
|
|
|
ENV SKYNET_DB_PASS="password"
|
|
|
|
ENV SKYNET_ACCOUNTS_PORT=3000
|
|
|
|
|
|
|
|
ENTRYPOINT ["skynet-accounts"]
|