- Java
- Node.js
required version is written in
.tool-versionsfile.
just runasdf installat the root of this repository.
if you don't haveasdf, please install it from asdf installation.
- change directory to
spajam-2023-api. - run
./gradlew dockerBuildImage. - run
docker-compose up.
- change directory to
spajam-2023-api. - run
./gradlew dockerBuildImage. then you can see417866577833.dkr.ecr.ap-northeast-1.amazonaws.com/spajam-2023-api:latestimage.
run aws ecr get-login-password --region ap-northeast-1 --profile ${YOUR_PROFILE_NAME} | docker login --username AWS --password-stdin 417866577833.dkr.ecr.ap-northeast-1.amazonaws.com.
4. run docker push 417866577833.dkr.ecr.ap-northeast-1.amazonaws.com/spajam-2023-api:latest. then AWS App Runner
automatically deploy the latest image triggered by ECR push event.