fix: use bash

This commit is contained in:
Marie 2023-11-08 20:09:32 +01:00 committed by GitHub
parent ad9ff38d9b
commit 82bfef9069
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,4 +98,4 @@ ENV NODE_ENV=production
VOLUME "/sharkey/files" VOLUME "/sharkey/files"
HEALTHCHECK --interval=5s --retries=20 CMD ["/bin/bash", "/sharkey/healthcheck.sh"] HEALTHCHECK --interval=5s --retries=20 CMD ["/bin/bash", "/sharkey/healthcheck.sh"]
ENTRYPOINT ["/usr/bin/tini", "--"] ENTRYPOINT ["/usr/bin/tini", "--"]
CMD ["pnpm", "run", "migrate", ";", "pnpm", "run", "dev"]; CMD ["/bin/bash", "-c", "pnpm run migrate && pnpm run dev"];