Skip to content

Commit

Permalink
run build to fix failing deploy - https://github.com/opiruyan/Balance…
Browse files Browse the repository at this point in the history
…Bot/actions/runs/7120116760/job/19386694249

- Error: Cannot find module '/app/build/Bot.js' - cos /build is created by compiling TS code
  • Loading branch information
opiruyan committed Dec 7, 2023
1 parent 2ca20f6 commit 33124fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ COPY --link . .

# Remove development dependencies
RUN npm prune --production
RUN npm run build


# Final stage for app image
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"scripts": {
"build": "tsc",
"dev": "node ./build/Bot.js",
"start": "node ./build/Bot.js",
"test": "jest"
},
"dependencies": {
Expand Down

0 comments on commit 33124fc

Please sign in to comment.