Skip to content

Commit 68e70b4

Browse files
committed
update adminforth package to version 1.5.9-next.5 and optimize Dockerfile build process
1 parent 94f920b commit 68e70b4

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

live-demo/app/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ WORKDIR /code/
33
ADD package.json package-lock.json /code/
44
RUN npm ci
55
ADD . /code/
6-
# RUN --mount=type=cache,target=/tmp npm run bundleNow
7-
RUN npm run bundleNow
6+
RUN --mount=type=cache,target=/tmp npm run bundleNow
87

98

109
CMD ["npm", "run", "startLive"]

live-demo/app/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

live-demo/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@adminforth/two-factors-auth": "^1.0.21",
2626
"@adminforth/upload": "^1.0.25",
2727
"@prisma/client": "^6.1.0",
28-
"adminforth": "^1.5.8-next.20",
28+
"adminforth": "^1.5.9-next.5",
2929
"better-sqlite3": "^10.0.0",
3030
"express": "^4.19.2"
3131
},

0 commit comments

Comments
 (0)