hijnu commited on
Commit
7f298d5
·
verified ·
1 Parent(s): 2b8a16d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -42,6 +42,9 @@ ENV POSTGRES_USER=${POSTGRES_USER} \
42
  WEBDAV_PASSWORD=${WEBDAV_PASSWORD} \
43
  PATH="$WORKDIR/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH"
44
 
 
 
 
45
  # 安装必要的软件包、Node.js,Python,并设置时区,清理apt缓存以减少镜像大小
46
  RUN apt-get update && apt-get install -y \
47
  curl unzip gnupg build-essential sudo vim git procps lsof net-tools \
@@ -62,8 +65,6 @@ RUN apt-get update && apt-get install -y \
62
  WORKDIR ${WORKDIR}
63
  COPY run.sh ${WORKDIR}/run.sh
64
  COPY import-db.sh ${WORKDIR}/import-db.sh
65
- COPY requirements.txt ${WORKDIR}/requirements.txt
66
- COPY package.json ${WORKDIR}/package.json
67
  COPY backup.sh ${WORKDIR}/backup.sh
68
 
69
  RUN chmod +x ${WORKDIR}/run.sh ${WORKDIR}/import-db.sh ${WORKDIR}/backup.sh
 
42
  WEBDAV_PASSWORD=${WEBDAV_PASSWORD} \
43
  PATH="$WORKDIR/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH"
44
 
45
+ COPY requirements.txt ${WORKDIR}/requirements.txt
46
+ COPY package.json ${WORKDIR}/package.json
47
+
48
  # 安装必要的软件包、Node.js,Python,并设置时区,清理apt缓存以减少镜像大小
49
  RUN apt-get update && apt-get install -y \
50
  curl unzip gnupg build-essential sudo vim git procps lsof net-tools \
 
65
  WORKDIR ${WORKDIR}
66
  COPY run.sh ${WORKDIR}/run.sh
67
  COPY import-db.sh ${WORKDIR}/import-db.sh
 
 
68
  COPY backup.sh ${WORKDIR}/backup.sh
69
 
70
  RUN chmod +x ${WORKDIR}/run.sh ${WORKDIR}/import-db.sh ${WORKDIR}/backup.sh