Create dockerfiles for the rustpython binary and wasm demo · sheeeng/rustpython-rustpython@3e3d28f · GitHub
Skip to content

Commit 3e3d28f

Browse files
committed
Create dockerfiles for the rustpython binary and wasm demo
1 parent d508d13 commit 3e3d28f

3 files changed

Lines changed: 30 additions & 0 deletions

File tree

.dockerignore

Lines changed: 2 additions & 0 deletions

Dockerfile.bin

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM rust:1.31-slim
2+
3+
WORKDIR /rustpython
4+
5+
COPY . .
6+
7+
RUN cargo build --release
8+
9+
CMD [ "/rustpython/target/release/rustpython" ]

Dockerfile.wasm

Lines changed: 19 additions & 0 deletions

0 commit comments

Comments
 (0)