Skip to content

Commit bb9c667

Browse files
committed
fix: update live-demo
1 parent e44a253 commit bb9c667

File tree

3 files changed

+5258
-5
lines changed

3 files changed

+5258
-5
lines changed

live-demo/app/Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
FROM node:20-alpine
22
WORKDIR /code/
3-
ADD package.json package-lock.json /code/
4-
RUN npm ci
3+
ADD package.json pnpm-lock.yaml /code/
4+
RUN npm i -g corepack@0.31.0
5+
RUN corepack enable
6+
RUN pnpm i
57
ADD . /code/
6-
RUN npm run bundleNow
8+
RUN pnpm bundleNow
79

810

9-
CMD ["npm", "run", "startLive"]
11+
CMD ["pnpm", "run", "startLive"]

live-demo/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@adminforth/two-factors-auth": "^2.9.20",
3434
"@adminforth/upload": "^2.8.6",
3535
"@prisma/client": "^6.6.0",
36-
"adminforth": "^2.17.0-next.79",
36+
"adminforth": "2.25.0-next.5",
3737
"better-sqlite3": "^10.0.0",
3838
"express": "^4.19.2"
3939
},

0 commit comments

Comments
 (0)