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 d98e59d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . .

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 d98e59d

Please sign in to comment.