diff --git a/Dockerfile b/Dockerfile index 4ed4115..754e30b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,6 +29,7 @@ COPY --link . . # Remove development dependencies RUN npm prune --production +RUN npm run build # Final stage for app image diff --git a/package.json b/package.json index 7a77235..195b70b 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "scripts": { "build": "tsc", "dev": "node ./build/Bot.js", + "start": "node ./build/Bot.js", "test": "jest" }, "dependencies": {