forked from gnolang/gno
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.release
61 lines (45 loc) · 1.29 KB
/
Dockerfile.release
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
FROM alpine AS base
ENV GNOROOT="/gnoroot/"
WORKDIR /gnoroot/
CMD [ "" ]
#
## ghcr.io/gnolang/gno/gnoland
FROM base as gnoland
COPY ./gnoland /usr/bin/gnoland
COPY ./examples /gnoroot/examples/
COPY ./gnovm/stdlibs /gnoroot/gnovm/stdlibs/
COPY ./gno.land/genesis/genesis_balances.txt /gnoroot/gno.land/genesis/genesis_balances.txt
COPY ./gno.land/genesis/genesis_txs.jsonl /gnoroot/gno.land/genesis/genesis_txs.jsonl
EXPOSE 26656 26657
ENTRYPOINT [ "/usr/bin/gnoland" ]
#
## ghcr.io/gnolang/gno/gnokey
FROM base as gnokey
COPY ./gnokey /usr/bin/gnokey
ENTRYPOINT [ "/usr/bin/gnokey" ]
#
## ghcr.io/gnolang/gno/gnoweb
FROM base as gnoweb
COPY ./gnoweb /usr/bin/gnoweb
EXPOSE 8888
ENTRYPOINT [ "/usr/bin/gnoweb" ]
#
## ghcr.io/gnolang/gno/gnofaucet
FROM base as gnofaucet
COPY ./gnofaucet /usr/bin/gnofaucet
EXPOSE 5050
ENTRYPOINT [ "/usr/bin/gnofaucet" ]
#
## ghcr.io/gnolang/gno/gnobro
FROM base as gnobro
COPY ./gnobro /usr/bin/gnobro
EXPOSE 22
ENTRYPOINT [ "/usr/bin/gnobro" ]
#
## ghcr.io/gnolang/gno
FROM base as gno
COPY ./gno /usr/bin/gno
COPY ./examples /gnoroot/examples/
COPY ./gnovm/stdlibs /gnoroot/gnovm/stdlibs/
COPY ./gnovm/tests/stdlibs /gnoroot/gnovm/tests/stdlibs/
ENTRYPOINT [ "/usr/bin/gno" ]