mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-11 04:14:38 +00:00
chore: remove unused historic image files
This commit is contained in:
@@ -142,6 +142,7 @@ $ docker compose run --rm web rails new . --force --database=postgresql --skip-b
|
||||
```
|
||||
|
||||
**命令解释**:
|
||||
|
||||
- `--rm`:执行后删除临时容器
|
||||
- `--force`:覆盖已存在的文件
|
||||
- `--database=postgresql`:配置使用 PostgreSQL
|
||||
@@ -282,6 +283,8 @@ $ docker compose run --rm web bundle update
|
||||
|
||||
### 开发 vs 生产
|
||||
|
||||
相关信息如下表:
|
||||
|
||||
| 配置项 | 开发环境 | 生产环境 |
|
||||
|--------|---------|---------|
|
||||
| Rails 服务器 | Puma (开发模式) | Puma + Nginx |
|
||||
|
||||
Reference in New Issue
Block a user