convert mastodon scraper to docker
This commit is contained in:
parent
5788151840
commit
adbc1f5133
4 changed files with 27 additions and 11 deletions
11
create_docker_image.sh
Executable file
11
create_docker_image.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue