y4shg commited on
Commit
0aabb1f
·
verified ·
1 Parent(s): a81ea67

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -2,6 +2,9 @@ FROM node:lts-slim
2
 
3
  RUN npm install -g omniroute
4
 
 
 
 
5
  # Install zod inside omniroute's app directory where Turbopack can find it
6
  RUN cd /usr/local/lib/node_modules/omniroute/app && npm install zod
7
 
 
2
 
3
  RUN npm install -g omniroute
4
 
5
+ # Rebuild native addons against the current Node version
6
+ RUN cd /usr/local/lib/node_modules/omniroute/app && npm rebuild better-sqlite3
7
+
8
  # Install zod inside omniroute's app directory where Turbopack can find it
9
  RUN cd /usr/local/lib/node_modules/omniroute/app && npm install zod
10