Skip to content

Commit a5c10ba

Browse files
committed
docs: use repository URL in Docker build examples
Replace local folder building with direct link to repo master branch. PR: ericc-ch#172
1 parent 7746ae1 commit a5c10ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ bun install
6464
Build image
6565

6666
```sh
67-
docker build -t copilot-api .
67+
docker build -t copilot-api https://github.com/jacks0n/copilot-api.git#master
6868
```
6969

7070
Run the container
@@ -88,7 +88,7 @@ You can pass the GitHub token directly to the container using environment variab
8888

8989
```sh
9090
# Build with GitHub token
91-
docker build --build-arg GH_TOKEN=your_github_token_here -t copilot-api .
91+
docker build --build-arg GH_TOKEN=your_github_token_here -t copilot-api https://github.com/jacks0n/copilot-api.git#master
9292

9393
# Run with GitHub token
9494
docker run -p 4141:4141 -e GH_TOKEN=your_github_token_here copilot-api

0 commit comments

Comments
 (0)