File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
FROM php:8.0-cli
2
+ WORKDIR /root
2
3
3
4
RUN apt-get update \
4
5
&& apt-get install -y libzip-dev
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ CODING cli 基于 [Laravel Zero](https://laravel-zero.com/)。
11
11
``` shell
12
12
docker run -it ecoding/coding-cli
13
13
docker run -it ecoding/coding-cli wiki:import --help
14
- docker run -it --env CODING_IMPORT_PROVIDER=Confluence --env CONFLUENCE_USERNAME=admin ecoding/coding-cli wiki:import
14
+ docker run -it -v $( pwd) :/root --env CODING_TOKEN=foo --env CONFLUENCE_USERNAME=admin ecoding/coding-cli wiki:import
15
+ docker run -it -v $( pwd) :/root --env-file .env ecoding/coding-cli wiki:import
15
16
```
16
17
17
18
![ docker run coding cli] ( https://user-images.githubusercontent.com/4971414/124946851-f0a87500-e041-11eb-9840-1c66e4773af1.png )
You can’t perform that action at this time.
0 commit comments