convert mastodon scraper to docker

This commit is contained in:
Travis Shears 2025-05-22 19:04:40 +02:00
parent 5788151840
commit adbc1f5133
4 changed files with 27 additions and 11 deletions

11
create_docker_image.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/sh
set -e
VERSION=$(jq '.version' < package.json | sed 's/"//g')
IMAGE="853019563312.dkr.ecr.eu-central-1.amazonaws.com/micro-blog-fetchers:${VERSION}"
echo Building and deploying micro blog fetchers version: $VERSION;
# # Build the Docker image
docker buildx build --platform linux/amd64,linux/arm64 -t $IMAGE .
docker push $IMAGE