浏览代码

Update README instruction to run either with pure Docker, or with Docker Compose

Sylvain Huguet 1 年之前
父节点
当前提交
daa90286d3
共有 1 个文件被更改,包括 8 次插入2 次删除
  1. 8 2
      README.md

+ 8 - 2
README.md

@@ -45,8 +45,14 @@ This will launch Puter at http://localhost:4000 (or the next available port).
 ### Using Docker
 
 ```bash
-git clone https://github.com/HeyPuter/puter
-cd puter
+docker run --rm -p 4100:4100 -v `pwd`/data:/opt/puter/app/volatile/runtime -v `pwd`/config:/opt/puter/app/volatile/config ghcr.io/heyputer/puter
+```
+
+### Using Docker Compose
+
+```bash
+mkdir puter && cd puter
+wget https://raw.githubusercontent.com/HeyPuter/puter/main/docker-compose.yml
 docker compose up
 ```