hotfix for docker CMD script

This commit is contained in:
Amruth Pillai
2023-04-06 15:41:00 +02:00
parent 7e6e239d7f
commit ed710f6fe5
3 changed files with 3 additions and 3 deletions

View File

@ -43,4 +43,4 @@ ENV PORT 3000
HEALTHCHECK --interval=30s --timeout=20s --retries=3 --start-period=15s \ HEALTHCHECK --interval=30s --timeout=20s --retries=3 --start-period=15s \
CMD curl -fSs localhost:3000 || exit 1 CMD curl -fSs localhost:3000 || exit 1
CMD [ "pnpm", "run", "--filter", "client", "start" ] CMD [ "pnpm", "run", "start" ]

View File

@ -1,6 +1,6 @@
{ {
"name": "reactive-resume", "name": "reactive-resume",
"version": "3.7.0", "version": "3.7.1",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "env-cmd --silent cross-var cross-env VERSION=$npm_package_version pnpm run --recursive --parallel --stream dev", "dev": "env-cmd --silent cross-var cross-env VERSION=$npm_package_version pnpm run --recursive --parallel --stream dev",

View File

@ -50,4 +50,4 @@ ENV PORT 3100
HEALTHCHECK --interval=30s --timeout=20s --retries=3 --start-period=15s \ HEALTHCHECK --interval=30s --timeout=20s --retries=3 --start-period=15s \
CMD curl -fSs localhost:3100/health || exit 1 CMD curl -fSs localhost:3100/health || exit 1
CMD [ "pnpm", "run", "--filter", "server", "start" ] CMD [ "pnpm", "run", "start" ]