Skip to content

Commit

Permalink
提交
Browse files Browse the repository at this point in the history
  • Loading branch information
niuzheng1314520 committed Jun 14, 2022
1 parent 1717cc6 commit 7d9c79f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ docker build -t web:1.0 -f web.Dockerfile .
```
#### 运行容器
```text
docker run --name web -d -p 80:80 -v $PWD/code:/var/www/html -v $PWD/conf:/etc/nginx/conf.d -v $PWD/logs/php:/var/log -v $PWD/logs/nginx:/var/log web:1.0
docker run --name web -d -p 80:80 -v $PWD/code:/var/www/html -v $PWD/conf:/etc/nginx/conf.d -v $PWD/logs/php:/var/log/php -v $PWD/logs/nginx:/var/log/nginx web:1.0
```

0 comments on commit 7d9c79f

Please sign in to comment.