1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-04-12 06:29:36 -05:00

Update Dockerfile

This commit is contained in:
FLY_MC 2025-03-08 01:25:12 +08:00
parent aa03f9c886
commit 3be59e2b32

View file

@ -80,6 +80,8 @@ RUN apt-get update \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists
RUN npm install -g pnpm
USER misskey
WORKDIR /misskey
@ -103,4 +105,4 @@ ENV LD_PRELOAD=/usr/local/lib/libjemalloc.so
ENV NODE_ENV=production
HEALTHCHECK --interval=5s --retries=20 CMD ["/bin/bash", "/misskey/healthcheck.sh"]
ENTRYPOINT ["/usr/bin/tini", "--"]
CMD ["pnpm", "run", "migrateandstart"]
CMD ["pnpm", "run", "migrateandstart"]