From 789106b51731a3cf687668f389d97fae646a8b18 Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Sat, 1 Nov 2025 15:30:52 -0400 Subject: [PATCH] Refactor Docker build commands in README (#157) Updated Docker build commands for SQLite and Postgres to include Dockerfile specifications. Fixes #156. --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 291edc1..fb88de0 100644 --- a/README.md +++ b/README.md @@ -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.