



aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/k6z2c7p9
docker build -t hackathon_repo .
docker tag hackathon_repo:latest public.ecr.aws/k6z2c7p9/hackathon_repo:latest
docker push public.ecr.aws/k6z2c7p9/hackathon_repo:latest




9. 访问服务

1. Invalid Host header
在vue.config.js里加下面的属性。
- module.exports = {
- devServer: {
- allowedHosts: "all",
- },
- };