Skip to content

Commit 7d0b42f

Browse files
committed
Fix build
1 parent 4ee1641 commit 7d0b42f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ COPY package.json ./
1818
COPY package-lock.json ./
1919

2020
# Setup the application itself
21-
RUN npm install --silent
21+
RUN npm install
2222

2323
COPY . ./
2424

@@ -28,4 +28,4 @@ RUN npm run build
2828
ENTRYPOINT [ "npm", "run", "start" ]
2929

3030
# For debugging.
31-
# ENTRYPOINT ["tail", "-f", "/dev/null"]
31+
# ENTRYPOINT ["tail", "-f", "/dev/null"]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"ts-node-dev": "^1.1.6"
2727
},
2828
"scripts": {
29-
"prepare": "[ -d .git ] && (P=.git/hooks/pre-commit; echo \"#!/bin/sh\\nnpm run lint:check\" > $P; chmod 777 $P)",
29+
"prepare": "[ -d .git ] && (P=.git/hooks/pre-commit; echo \"#!/bin/sh\\nnpm run lint:check\" > $P; chmod 777 $P) || true",
3030
"dev": "ts-node-dev --quiet --rs --respawn --clear --transpile-only src/app.ts",
3131
"init-db": "sqlite3 ./db/peerdb.sqlite < ./sql/default.sql",
3232
"build": "tsc",

0 commit comments

Comments
 (0)