diff --git a/Dockerfile b/Dockerfile index 2ce8a5d..103c8ac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,4 +49,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ CMD curl -f http://localhost:3000/ || exit 1 # Command to run the app -CMD ["node", "./build/index.js"] \ No newline at end of file +CMD ["yarn", "remix-serve", "build/index.js"] \ No newline at end of file diff --git a/package.json b/package.json index 457e9d9..fd398a9 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "build": "remix build", "dev": "remix dev", - "start": "node ./build/index.js", + "start": "remix-serve build/index.js", "lint": "eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .", "typecheck": "tsc" },