Skip to content

Commit 9f2bb15

Browse files
committed
fix: use pnpm script
1 parent cc1fb8e commit 9f2bb15

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ FROM base AS prod
1717
RUN pnpm install --frozen-lockfile
1818
COPY . /app
1919

20-
CMD ["mint", "dev", "--port", "3000" ]
20+
CMD ["pnpm", "run", "prod" ]

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"scripts": {
2929
"build": "mint export --output .temp/export.zip && extract-zip .temp/export.zip $PWD/dist && rm -rf .temp",
3030
"dev": "mint dev --port 3001",
31+
"prod": "mint dev --port 3000 --no-open",
3132
"start": "bun run ./dist/serve.js",
3233
"a11y": "mint a11y",
3334
"lint": "prettier --check .",

0 commit comments

Comments
 (0)