Skip to content

Commit 7de28be

Browse files
Fix typo in README and remove redundant CMD (#46)
* Fix typo in README and remove redundant CMD * Add changeset
1 parent 215ab49 commit 7de28be

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.changeset/big-worms-draw.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cloudflare/sandbox": patch
3+
---
4+
5+
Update README

examples/basic/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ FROM cloudflare/sandbox-test:0.1.3
88
# arm64 build of the image.
99
# FROM --platform=linux/arm64 cloudflare/sandbox-test:0.1.3
1010

11+
# Expose the ports you want to expose
1112
EXPOSE 8080
1213
EXPOSE 3001
13-
14-
# Run the same command as the original image
15-
CMD ["bun", "index.ts"]

packages/sandbox/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,8 @@ npm install @cloudflare/sandbox
6666
```dockerfile
6767
FROM docker.io/cloudflare/sandbox:0.1.3
6868

69+
# Expose the ports you want to expose
6970
EXPOSE 3000
70-
71-
# Run the same command as the original image
72-
CMD ["bun", "index.ts"]
7371
```
7472

7573
2. **Configure wrangler.json**:
@@ -284,7 +282,7 @@ The SDK handles:
284282
285283
```dockerfile
286284
# In your Dockerfile (only needed for local dev)
287-
FROM oven/bun:latest
285+
FROM docker.io/cloudflare/sandbox:0.1.3
288286

289287
# Expose the ports you'll be using
290288
EXPOSE 3000 # For a web server

0 commit comments

Comments
 (0)