mirror of https://github.com/mindoc-org/mindoc.git
parent
4b7f3206d5
commit
d20549afc8
|
@ -112,11 +112,11 @@ 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 .
|
||||
# https://docs.docker.com/engine/reference/commandline/run/#options
|
||||
# docker run --rm -it -p 8181:8181 -v "mindoc-docker":"/mindoc" --name mindoc -e MINDOC_ENABLE_EXPORT=true -d gsw945/mindoc:2.0.1
|
||||
# docker run --rm -it -p 8181:8181 -v "mindoc-docker":"/mindoc" --name mindoc -e MINDOC_ENABLE_EXPORT=true -d gsw945/mindoc:2.0.1
|
||||
|
|
Loading…
Reference in New Issue