get docker deploy working

This commit is contained in:
Travis Shears 2025-07-26 10:35:55 +02:00
parent 7e0659cebe
commit 637bb6740c
10 changed files with 101 additions and 23 deletions

View file

@ -17,7 +17,24 @@ instance.
## Deployment
TODO
Repl:
```shell
$ clj
```
Build and run uber jar manually:
```shell
$ clj -T:build uber
$ java -jar ./target/micro-blog-standalone.jar
```
Build new docker image and push it to ECR
```shell
$ docker buildx build --platform linux/amd64,linux/arm64 -t 853019563312.dkr.ecr.eu-central-1.amazonaws.com/micro-blog-fetchers:2.0.1 --push .
```
## Project history