diff --git a/deploy.sh b/deploy.sh index 156561c..2921d64 100644 --- a/deploy.sh +++ b/deploy.sh @@ -1,4 +1,9 @@ #!/usr/bin/env bash echo "> FE 배포" -sudo cp -rf /home/ubuntu/fridge-link-deploy/build/* /var/www/html \ No newline at end of file + +sudo fuser -k 80/tcp + +cd /home/ubuntu/fridge-link-deploy + +nohup yarn start & \ No newline at end of file diff --git a/next.config.js b/next.config.js index 29ffa44..408b379 100644 --- a/next.config.js +++ b/next.config.js @@ -4,7 +4,6 @@ const nextConfig = { images: { domains: ['mara-s3bucket.s3.ap-northeast-2.amazonaws.com'], }, - distDir: 'build', webpack: (config) => { return { ...config,