mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-08-10 08:27:25 +00:00
Update Grafana to v13, add version notes
This commit is contained in:
@@ -164,6 +164,7 @@ curl -s http://myip.ipip.net -i
|
||||
#### 实现方式
|
||||
|
||||
```docker
|
||||
# 建议使用 redis:7 或 redis:latest,具体版本号根据生产需求选择
|
||||
FROM redis:7-alpine
|
||||
COPY docker-entrypoint.sh /usr/local/bin/
|
||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
@@ -216,6 +217,7 @@ docker-entrypoint.sh redis-server docker-entrypoint.sh bash
|
||||
### 7.5.6 场景三:带参数的应用
|
||||
|
||||
```docker
|
||||
# 建议使用 python:3.12 或 python:3,具体版本号根据应用兼容性需求选择
|
||||
FROM python:3.12-slim
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user