mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-04-05 20:17:53 +08:00
Update Dockerfile
start.sh改用绝对路径
This commit is contained in:
parent
4b7f3206d5
commit
d20549afc8
@ -112,11 +112,11 @@ VOLUME /mindoc
|
|||||||
EXPOSE 8181/tcp
|
EXPOSE 8181/tcp
|
||||||
|
|
||||||
ENV ZONEINFO=/mindoc/lib/time/zoneinfo.zip
|
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
|
# 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 .
|
# 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
|
# 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
Block a user