fix mkdir error for dockerfile

This commit is contained in:
xiaoyaofenfen 2022-06-16 08:53:17 +08:00
parent 855b640d9f
commit a88487dffd

View File

@ -22,10 +22,10 @@ WORKDIR /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
# 复制文件
@ -33,9 +33,9 @@ COPY ./docker/sync/app.sh /home/app/app.sh
RUN chmod +x /home/app/app.sh
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
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
#RUN chmod +x /home/app/aliyunpan