-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ta i bruk esm import nå som det er fikset i winston
i tillegg: - fjernet --experimental-modules flagget siden Dockerfile nå kjører med node:16 - bumpet prom api og client pga deprecation warning: ``` (node:22932) [DEP0152] DeprecationWarning: Custom PerformanceEntry accessors are deprecated. Please use the detail property. at PerformanceObserver.<anonymous> (.../node_modules/prom-client/lib/metrics/gc.js:42:38) ``` re: - https://github.com/winstonjs/winston/releases/tag/v3.4.0 - winstonjs/winston#2006
- Loading branch information
Showing
4 changed files
with
11 additions
and
23 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,3 @@ | ||
#!/usr/bin/env sh | ||
|
||
if test -d /var/run/secrets/nais.io/vault; | ||
then | ||
for FILE in /var/run/secrets/nais.io/vault/*.env | ||
do | ||
for line in $(cat $FILE); do | ||
echo "- exporting `echo $line | cut -d '=' -f 1`" | ||
export $line | ||
done | ||
done | ||
fi | ||
|
||
exec node --experimental-modules server.js | ||
exec node server.js |