Skip to content

Commit

Permalink
Merge pull request #9 from rumpl/add-platforms
Browse files Browse the repository at this point in the history
Use wasi/wasm and add the platform to the image properties
  • Loading branch information
hydai authored Nov 23, 2022
2 parents 73a8414 + 7540c83 commit bbf63de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
services:
server: # docker compose run --no-TTY -p 8080:8080 server
image: demo-server
platform: wasi/wasm
build:
context: .
target: server
platforms:
- wasi/wasm32
- wasi/wasm
runtime: io.containerd.wasmedge.v1
ports:
- 8080:8080
client: # docker compose run --no-TTY client
image: demo-client
platform: wasi/wasm
build:
context: .
target: client
platforms:
- wasi/wasm32
- wasi/wasm
runtime: io.containerd.wasmedge.v1

0 comments on commit bbf63de

Please sign in to comment.