diff --git a/Dockerfile b/Dockerfile index 4ed4115..af88600 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,6 +24,8 @@ RUN apt-get update -qq && \ COPY --link package.json package-lock.json ./ RUN npm install --production=false +RUN npm run build + # Copy application code COPY --link . . 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": {