mirror of
https://github.com/tickstep/aliyunpan.git
synced 2025-02-02 21:27:15 +08:00
fix mkdir error for dockerfile
This commit is contained in:
parent
855b640d9f
commit
a88487dffd
@ -22,10 +22,10 @@ WORKDIR /home/app
|
|||||||
RUN cd /home/app
|
RUN cd /home/app
|
||||||
|
|
||||||
# 创建配置文件目录
|
# 创建配置文件目录
|
||||||
RUN mkdir /home/app/config
|
RUN mkdir -p /home/app/config
|
||||||
|
|
||||||
# 创建数据文件夹
|
# 创建数据文件夹
|
||||||
RUN mkdir /home/app/data
|
RUN mkdir -p /home/app/data
|
||||||
RUN chmod 777 /home/app/data
|
RUN chmod 777 /home/app/data
|
||||||
|
|
||||||
# 复制文件
|
# 复制文件
|
||||||
@ -33,9 +33,9 @@ COPY ./docker/sync/app.sh /home/app/app.sh
|
|||||||
RUN chmod +x /home/app/app.sh
|
RUN chmod +x /home/app/app.sh
|
||||||
|
|
||||||
COPY ./out/binary_files/aliyunpan /home/app
|
COPY ./out/binary_files/aliyunpan /home/app
|
||||||
RUN mkdir /home/app/config/plugin
|
RUN mkdir -p /home/app/config/plugin
|
||||||
COPY ./out/binary_files/plugin /home/app/config/plugin
|
COPY ./out/binary_files/plugin /home/app/config/plugin
|
||||||
RUN mkdir /home/app/config/sync_drive
|
RUN mkdir -p /home/app/config/sync_drive
|
||||||
COPY ./out/binary_files/sync_drive /home/app/config/sync_drive
|
COPY ./out/binary_files/sync_drive /home/app/config/sync_drive
|
||||||
#RUN chmod +x /home/app/aliyunpan
|
#RUN chmod +x /home/app/aliyunpan
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user