mirror of
https://github.com/GothenburgBitFactory/taskchampion-sync-server.git
synced 2026-04-07 18:20:36 +00:00
Refactor Docker build commands in README
Updated Docker build commands for SQLite and Postgres to include Dockerfile specifications. Fixes #156.
This commit is contained in:
committed by
GitHub
parent
eed6421a4e
commit
270dab8299
11
README.md
11
README.md
@ -74,20 +74,17 @@ To build the images, execute the following commands.
|
|||||||
|
|
||||||
SQLite:
|
SQLite:
|
||||||
```sh
|
```sh
|
||||||
source .env
|
|
||||||
docker build \
|
docker build \
|
||||||
--build-arg RUST_VERSION=${RUST_VERSION} \
|
-t taskchampion-sync-server \
|
||||||
--build-arg ALPINE_VERSION=${ALPINE_VERSION} \
|
-f Dockerfile-sqlite
|
||||||
-t taskchampion-sync-server docker/sqlite
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Postgres:
|
Postgres:
|
||||||
```sh
|
```sh
|
||||||
source .env
|
source .env
|
||||||
docker build \
|
docker build \
|
||||||
--build-arg RUST_VERSION=${RUST_VERSION} \
|
-t taskchampion-sync-server-postgres \
|
||||||
--build-arg ALPINE_VERSION=${ALPINE_VERSION} \
|
-f Dockerfile-postgres
|
||||||
-t taskchampion-sync-server-postgres docker/postgres
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Now to run it, simply exec.
|
Now to run it, simply exec.
|
||||||
|
|||||||
Reference in New Issue
Block a user