You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This one is required by Wappalyzer to launch the browser (ref: `node_modules/wappalyzer/driver.js`)
38
39
ENV CHROMIUM_BIN="${CHROME_BIN}"
39
40
41
+
# Cache "npx" dependencies to start faster
42
+
RUN npm install -g "prisma@${PRISMA_VERSION}"
43
+
40
44
# Restrict the permissions
41
45
42
46
RUN addgroup --system --gid 800 nodejs
@@ -82,5 +86,8 @@ ENV APP_HOST $APP_HOST
82
86
ENV PORT $PORT
83
87
EXPOSE $PORT
84
88
89
+
# Needed to handle signals properly (due to PID 1)
90
+
ENTRYPOINT ["dumb-init", "--"]
91
+
85
92
# We use `npx` to avoid using `npm run db:migration:deploy:unsecure` since we build as standalone the entire application and we no longer want to rely application `node_modules` folder
0 commit comments