forked from dojoengine/dojo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
18 lines (13 loc) · 845 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM debian:buster-slim as base
LABEL description="Dojo is a provable game engine and toolchain for building onchain games and autonomous worlds with Cairo" \
authors="tarrence <tarrence@cartridge.gg>" \
source="https://github.com/dojoengine/dojo" \
documentation="https://book.dojoengine.org/"
FROM base as amd64
COPY --from=artifacts x86_64-unknown-linux-gnu/release/katana /usr/local/bin/katana
COPY --from=artifacts x86_64-unknown-linux-gnu/release/sozo /usr/local/bin/sozo
COPY --from=artifacts x86_64-unknown-linux-gnu/release/torii /usr/local/bin/torii
FROM base as arm64
COPY --from=artifacts aarch64-unknown-linux-gnu/release/katana /usr/local/bin/katana
COPY --from=artifacts aarch64-unknown-linux-gnu/release/sozo /usr/local/bin/sozo
COPY --from=artifacts aarch64-unknown-linux-gnu/release/torii /usr/local/bin/torii