Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -1,12 +1,16 @@
|
|
| 1 |
# 使用 ubuntu 作为基础镜像
|
| 2 |
FROM ubuntu:latest
|
| 3 |
|
|
|
|
|
|
|
| 4 |
# 更新 apt-get 并安装需要的工具
|
| 5 |
RUN apt-get update && apt-get install -y wget
|
| 6 |
|
| 7 |
# 安装 Docker Compose
|
| 8 |
RUN apt-get install -y docker-compose
|
| 9 |
|
|
|
|
|
|
|
| 10 |
# 创建并切换到 QD 目录
|
| 11 |
WORKDIR /qd
|
| 12 |
|
|
|
|
| 1 |
# 使用 ubuntu 作为基础镜像
|
| 2 |
FROM ubuntu:latest
|
| 3 |
|
| 4 |
+
USER root
|
| 5 |
+
|
| 6 |
# 更新 apt-get 并安装需要的工具
|
| 7 |
RUN apt-get update && apt-get install -y wget
|
| 8 |
|
| 9 |
# 安装 Docker Compose
|
| 10 |
RUN apt-get install -y docker-compose
|
| 11 |
|
| 12 |
+
RUN mkdir -p /qd/config
|
| 13 |
+
|
| 14 |
# 创建并切换到 QD 目录
|
| 15 |
WORKDIR /qd
|
| 16 |
|