mirror of
https://github.com/ldericher/autodoc.git
synced 2025-12-06 15:43:01 +00:00
script autostart
This commit is contained in:
parent
df8e428ee2
commit
113730d9ac
2 changed files with 4 additions and 0 deletions
|
|
@ -7,3 +7,5 @@ RUN apt-get update && apt-get -y install \
|
||||||
|
|
||||||
COPY autodoc.sh /usr/local/bin/autodoc
|
COPY autodoc.sh /usr/local/bin/autodoc
|
||||||
RUN chmod +x /usr/local/bin/autodoc
|
RUN chmod +x /usr/local/bin/autodoc
|
||||||
|
|
||||||
|
CMD ["autodoc"]
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,8 @@ services:
|
||||||
build:
|
build:
|
||||||
context: ./build
|
context: ./build
|
||||||
|
|
||||||
|
command: "bash"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- "${PWD}/build/autodoc.sh:/usr/local/bin/autodoc:ro"
|
- "${PWD}/build/autodoc.sh:/usr/local/bin/autodoc:ro"
|
||||||
- "${PWD}/example_docs:/docs"
|
- "${PWD}/example_docs:/docs"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue