adminforth 2.25.0-test.2 → 2.25.0-test.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
FROM
|
|
1
|
+
FROM devforth/node20-pnpm:latest
|
|
2
2
|
WORKDIR /code/
|
|
3
|
-
ADD package.json
|
|
4
|
-
RUN
|
|
3
|
+
ADD package.json pnpm-lock.yaml pnpm-workspace.yaml /code/
|
|
4
|
+
RUN pnpm i
|
|
5
5
|
ADD . /code/
|
|
6
|
-
RUN
|
|
7
|
-
CMD ["sh", "-c", "
|
|
6
|
+
RUN pnpm exec adminforth bundle
|
|
7
|
+
CMD ["sh", "-c", "pnpm migrate:prod && pnpm prod"]
|
|
@@ -317,11 +317,6 @@ async function writeTemplateFiles(dirname, cwd, options) {
|
|
|
317
317
|
dest: 'resources/adminuser.ts',
|
|
318
318
|
data: {},
|
|
319
319
|
},
|
|
320
|
-
{
|
|
321
|
-
src: 'custom/package.json.hbs',
|
|
322
|
-
dest: 'custom/package.json',
|
|
323
|
-
data: {},
|
|
324
|
-
},
|
|
325
320
|
{
|
|
326
321
|
src: 'custom/tsconfig.json.hbs',
|
|
327
322
|
dest: 'custom/tsconfig.json',
|
package/package.json
CHANGED