hijnu commited on
Commit
ed03954
·
verified ·
1 Parent(s): b6490f9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -55,8 +55,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
55
  # 设置工作目录并复制启动脚本
56
  WORKDIR ${WORKDIR}
57
  COPY run.sh ${WORKDIR}/run.sh
58
- COPY import-db.sh /docker-entrypoint-initdb.d/
59
- RUN chmod +x ${WORKDIR}/run.sh /docker-entrypoint-initdb.d/import-db.sh
60
 
61
  # 设置用户和权限
62
  RUN usermod -u 1000 postgres && groupmod -g 1000 postgres && \
 
55
  # 设置工作目录并复制启动脚本
56
  WORKDIR ${WORKDIR}
57
  COPY run.sh ${WORKDIR}/run.sh
58
+ COPY import-db.sh ${WORKDIR}/import-db.sh
59
+ RUN chmod +x ${WORKDIR}/run.sh ${WORKDIR}/import-db.sh
60
 
61
  # 设置用户和权限
62
  RUN usermod -u 1000 postgres && groupmod -g 1000 postgres && \