Skip to content

Commit

Permalink
Reduce warnings in Docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
textbook committed Sep 17, 2024
1 parent 2fe92fc commit 33be52c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
engine-strict=true
lockfile-version=3
update-notifier=false
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ COPY package*.json .npmrc ./
COPY --chown=node web/package.json web/
RUN npm \
--no-fund \
--no-update-notifier \
--workspace web \
ci

Expand All @@ -26,7 +25,6 @@ COPY package*.json .npmrc ./
COPY api/package.json api/
RUN npm \
--no-fund \
--no-update-notifier \
--omit dev \
--workspace api \
ci
Expand Down
2 changes: 1 addition & 1 deletion bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
set -eu

npm run migration up
exec /sbin/tini -- node ./api/server.js
exec /sbin/tini -s -- node ./api/server.js

0 comments on commit 33be52c

Please sign in to comment.