Skip to content

Commit

Permalink
fix: alpine的tini和debian的tini路径不同
Browse files Browse the repository at this point in the history
  • Loading branch information
bangbang93 committed Oct 12, 2024
1 parent bbd1faa commit 62fe10d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,4 @@ COPY --from=build /app/packages/server/dist ./packages/server/dist
COPY --from=build /app/packages/home/dist ./packages/home/dist
COPY --from=build /app/packages/admin/dist ./packages/admin/dist

ENTRYPOINT ["/sbin/tini", "--"]
CMD ["node", "--enable-source-maps", "packages/server/dist/main.js"]
CMD ["tini", "--", "node", "--enable-source-maps", "packages/server/dist/main.js"]

0 comments on commit 62fe10d

Please sign in to comment.