Skip to content

Commit 789106b

Browse files
authored
Refactor Docker build commands in README (#157)
Updated Docker build commands for SQLite and Postgres to include Dockerfile specifications. Fixes #156.
1 parent 72aeebd commit 789106b

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,17 @@ To build the images, execute the following commands.
7474

7575
SQLite:
7676
```sh
77-
source .env
7877
docker build \
79-
--build-arg RUST_VERSION=${RUST_VERSION} \
80-
--build-arg ALPINE_VERSION=${ALPINE_VERSION} \
81-
-t taskchampion-sync-server docker/sqlite
78+
-t taskchampion-sync-server \
79+
-f Dockerfile-sqlite
8280
```
8381

8482
Postgres:
8583
```sh
8684
source .env
8785
docker build \
88-
--build-arg RUST_VERSION=${RUST_VERSION} \
89-
--build-arg ALPINE_VERSION=${ALPINE_VERSION} \
90-
-t taskchampion-sync-server-postgres docker/postgres
86+
-t taskchampion-sync-server-postgres \
87+
-f Dockerfile-postgres
9188
```
9289

9390
Now to run it, simply exec.

0 commit comments

Comments
 (0)