Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -27,7 +27,8 @@ RUN apt-get update && apt-get install -y \
|
|
| 27 |
|
| 28 |
|
| 29 |
RUN echo 'root:12345' | chpasswd
|
| 30 |
-
RUN wget -O install_panel.sh https://download.bt.cn/install/install_panel.sh
|
|
|
|
| 31 |
# 创建非特权用户
|
| 32 |
RUN useradd -m -s /bin/bash appuser
|
| 33 |
|
|
@@ -40,7 +41,7 @@ COPY --chown=root . /app
|
|
| 40 |
# 更改目录和文件的所有者
|
| 41 |
# RUN chown -R appuser:appuser /app
|
| 42 |
RUN chmod 777 /app
|
| 43 |
-
RUN chmod +x alist
|
| 44 |
RUN mkdir -p /data
|
| 45 |
RUN chmod 777 /data
|
| 46 |
# RUN pip install --no-cache-dir --upgrade --break-system-packages -r requirements.txt
|
|
|
|
| 27 |
|
| 28 |
|
| 29 |
RUN echo 'root:12345' | chpasswd
|
| 30 |
+
RUN wget -O install_panel.sh https://download.bt.cn/install/install_panel.sh
|
| 31 |
+
RUN sudo bash install_panel.sh ed8484bec
|
| 32 |
# 创建非特权用户
|
| 33 |
RUN useradd -m -s /bin/bash appuser
|
| 34 |
|
|
|
|
| 41 |
# 更改目录和文件的所有者
|
| 42 |
# RUN chown -R appuser:appuser /app
|
| 43 |
RUN chmod 777 /app
|
| 44 |
+
# RUN chmod +x alist
|
| 45 |
RUN mkdir -p /data
|
| 46 |
RUN chmod 777 /data
|
| 47 |
# RUN pip install --no-cache-dir --upgrade --break-system-packages -r requirements.txt
|