mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-17 08:34:19 +01:00
Add .dockerignore and Makefile commands to support docker
This commit is contained in:
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*target
|
||||||
6
Makefile
6
Makefile
@@ -150,3 +150,9 @@ bench-exclude-tpc-h:
|
|||||||
cargo bench $$benchmarks; \
|
cargo bench $$benchmarks; \
|
||||||
fi
|
fi
|
||||||
.PHONY: bench-exclude-tpc-h
|
.PHONY: bench-exclude-tpc-h
|
||||||
|
|
||||||
|
docker-cli-build:
|
||||||
|
docker build -f Dockerfile.cli -t turso-cli .
|
||||||
|
|
||||||
|
docker-cli-run:
|
||||||
|
docker run -it -v ./:/app turso-cli
|
||||||
|
|||||||
@@ -91,7 +91,8 @@ cargo run
|
|||||||
If you like docker, we got you covered. Simply run this in the root folder:
|
If you like docker, we got you covered. Simply run this in the root folder:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker build -f Dockerfile.cli -t turso-cli . && docker run -it turso-cli
|
make docker-cli-build && \
|
||||||
|
make docker-cli-run
|
||||||
```
|
```
|
||||||
|
|
||||||
### MCP Server Mode
|
### MCP Server Mode
|
||||||
|
|||||||
Reference in New Issue
Block a user