You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
681 B
11 lines
681 B
|
1 month ago
|
aws configure set aws_access_key_id AKIAVRXFMB43TOELSROK
|
||
|
|
aws configure set aws_secret_access_key GYxb5qzuYeEuXLj9/kW9FJB05c2oAu7Cw7j82pLS
|
||
|
|
aws configure set default.region ap-northeast-1
|
||
|
|
aws ecr get-login-password --region ap-northeast-1 | docker login --username AWS --password-stdin 381659385655.dkr.ecr.ap-northeast-1.amazonaws.com
|
||
|
|
|
||
|
|
docker build -t 381659385655.dkr.ecr.ap-northeast-1.amazonaws.com/dashboard-back:latest\
|
||
|
|
--build-arg JAR_FILE=target/dongjian-dashboard-back-controller-0.0.1-SNAPSHOT.jar \
|
||
|
|
--build-arg LIB_DIR=target/lib \
|
||
|
|
--build-arg CONFIG_DIR=target/config \
|
||
|
|
.
|
||
|
|
docker push 381659385655.dkr.ecr.ap-northeast-1.amazonaws.com/dashboard-back:latest
|