diff --git a/Dockerfile b/Dockerfile index fd4047a..b2115ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,5 +56,5 @@ RUN npm install \ "@swc/core" \ "@napi-rs/magic-string" RUN npm run build -ENV PORT=80 -CMD bash ./start.sh +ENV PORT=3000 +CMD ["npm", "run", "start"] diff --git a/start.sh b/start.sh index 9ef2e6c..d550833 100755 --- a/start.sh +++ b/start.sh @@ -1,6 +1,4 @@ #!/bin/bash set -e -export PORT=3000 -echo "npm run start" -npm run start +echo "starting server"