Update Dockerfile

start.sh改用绝对路径
pull/712/head
玖亖伍 2021-07-01 15:52:00 +08:00 committed by GitHub
parent 4b7f3206d5
commit d20549afc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -112,9 +112,9 @@ VOLUME /mindoc
EXPOSE 8181/tcp
ENV ZONEINFO=/mindoc/lib/time/zoneinfo.zip
RUN chmod +x ./start.sh
RUN chmod +x /mindoc/start.sh
CMD ["bash", "./start.sh"]
CMD ["bash", "/mindoc/start.sh"]
# https://docs.docker.com/engine/reference/commandline/build/#options
# docker build --progress plain --rm --build-arg TAG=2.0.1 --tag gsw945/mindoc:2.0.1 .