Skip to content

Commit

Permalink
feat: add NODE_COMPILE_CACHE for improved performance
Browse files Browse the repository at this point in the history
  • Loading branch information
caipira113 committed Nov 13, 2024
1 parent 9b8a89e commit d2f3e98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ COPY --chown=misskey:misskey . ./

ENV LD_PRELOAD=/usr/local/lib/libjemalloc.so
ENV NODE_ENV=production
ENV NODE_COMPILE_CACHE=/misskey/.node_compile_cache
HEALTHCHECK --interval=5s --retries=20 CMD ["/bin/bash", "/misskey/healthcheck.sh"]
ENTRYPOINT ["/usr/bin/tini", "--"]
CMD ["pnpm", "run", "migrateandstart"]

1 comment on commit d2f3e98

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chromatic detects changes. Please review the changes on Chromatic.

Please sign in to comment.