Refactor Docker build commands in README (#157)

Updated Docker build commands for SQLite and Postgres to include Dockerfile specifications.

Fixes #156.
This commit is contained in:
Dustin J. Mitchell
2025-11-01 15:30:52 -04:00
committed by GitHub
parent 72aeebdda7
commit 789106b517

View File

@ -74,20 +74,17 @@ To build the images, execute the following commands.
SQLite:
```sh
source .env
docker build \
--build-arg RUST_VERSION=${RUST_VERSION} \
--build-arg ALPINE_VERSION=${ALPINE_VERSION} \
-t taskchampion-sync-server docker/sqlite
-t taskchampion-sync-server \
-f Dockerfile-sqlite
```
Postgres:
```sh
source .env
docker build \
--build-arg RUST_VERSION=${RUST_VERSION} \
--build-arg ALPINE_VERSION=${ALPINE_VERSION} \
-t taskchampion-sync-server-postgres docker/postgres
-t taskchampion-sync-server-postgres \
-f Dockerfile-postgres
```
Now to run it, simply exec.