Skip to content

Commit 312e062

Browse files
committed
📝 add Dockerfile README entry
1 parent b4dacfa commit 312e062

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

+17
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,20 @@ Options:
8484
--version Show the version and exit.
8585
--help Show this message and exit.
8686
```
87+
88+
#### Dockerfile
89+
90+
If you prefer to use Docker, you can build the image yourself:
91+
92+
```bash
93+
docker build -t mysql2sqlite .
94+
```
95+
96+
and then run it:
97+
98+
```bash
99+
docker run -it -w `pwd` -v `pwd`:`pwd` --rm mysql2sqlite --help
100+
```
101+
102+
This will mount your host current working directory (pwd) inside the Docker container as the current working directory.
103+
Any files Docker would write to the current working directory are written to the host directory where you did docker run.

0 commit comments

Comments
 (0)