diff --git a/Dockerfile b/Dockerfile index 13177ea..31c5bd4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,4 +5,9 @@ LABEL Maintainer="AlicFeng " \ COPY release/mysql_markdown_unix /usr/local/sbin/mysql_markdown RUN chmod a+x /usr/local/sbin/mysql_markdown && \ - mkdir /data/ \ No newline at end of file + mkdir /data/ + +WORKDIR /data + +ENTRYPOINT [ "/usr/local/sbin/mysql_markdown" ] +CMD [ "--help" ] diff --git a/README.md b/README.md index e9b74fd..b12e1cc 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,7 @@ Usage: mysql_markdown [options...] -c charset. default utf8 -o output. default current location -t tables. default all table and support ',' separator for filter, every item can use regexp +-l language. default cn,support: cn,en # 使用 ➜ mysql_markdown -p samego -d samego