Skip to content

Commit 1c7febb

Browse files
committed
update scripts n stuff
1 parent cb97dae commit 1c7febb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN --mount=type=cache,target=/root/.local/share/pnpm/store,sharing=locked \
3131
pnpm i --prod --frozen-lockfile --aggregate-output
3232
RUN rm -rf .git
3333

34-
FROM bun:1.1.13-alpine
34+
FROM oven/bun:1.1.13-alpine
3535

3636
ARG UID="991"
3737
ARG GID="991"
@@ -76,5 +76,6 @@ COPY --chown=sharkey:sharkey packages/misskey-bubble-game/package.json ./package
7676

7777
ENV LD_PRELOAD=/usr/lib/libjemalloc.so.2
7878
ENV NODE_ENV=production
79+
# RUN corepack enable
7980
ENTRYPOINT ["/sbin/tini", "--"]
8081
CMD ["bun", "run", "--bun", "migrateandstart"]

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"build": "pnpm build-pre && pnpm -r build && pnpm build-assets",
2323
"build-storybook": "pnpm --filter frontend build-storybook",
2424
"build-misskey-js-with-types": "pnpm build-pre && pnpm --filter backend... --filter=!misskey-js build && pnpm --filter backend generate-api-json && ncp packages/backend/built/api.json packages/misskey-js/generator/api.json && pnpm --filter misskey-js update-autogen-code && pnpm --filter misskey-js build && pnpm --filter misskey-js api",
25-
"start": "pnpm check:connect && cd packages/backend && node ./built/boot/entry.js",
25+
"start": "cd packages/backend && node ./built/boot/entry.js",
2626
"start:test": "cd packages/backend && cross-env NODE_ENV=test node ./built/boot/entry.js",
2727
"init": "pnpm migrate",
2828
"migrate": "cd packages/backend && pnpm migrate",

0 commit comments

Comments
 (0)