mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 03:41:34 +00:00
7883f305e7
* Adds docker setup * Add build args * Remove spaec * Bump version * Adds run prefix
15 lines
283 B
Docker
15 lines
283 B
Docker
FROM vidsyhq/go-base:latest
|
|
LABEL maintainers="anthdm,stevenjack"
|
|
|
|
ENV NETMODE=testnet
|
|
|
|
ARG VERSION
|
|
LABEL version=$VERSION
|
|
|
|
ADD bin/neo-go /usr/bin/neo-go
|
|
ADD config /config
|
|
|
|
RUN chmod u+x /usr/bin/neo-go
|
|
|
|
ENTRYPOINT ["neo-go"]
|
|
CMD ["node", "--config-path", "./config", "--testnet"]
|