forked from gnolang/gno
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.release
48 lines (33 loc) · 1.01 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
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
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" ]