mirror of
https://github.com/paricafe/misskey.git
synced 2025-04-12 06:29:36 -05:00
Update Dockerfile
This commit is contained in:
parent
aa03f9c886
commit
3be59e2b32
1 changed files with 3 additions and 1 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Reference in a new issue