diff --git a/packages/snapshot-listener/deploy/dockerfiles/Dockerfile.release b/packages/snapshot-listener/deploy/dockerfiles/Dockerfile.release index 09e6dc7dfdd..ae2405c2aad 100644 --- a/packages/snapshot-listener/deploy/dockerfiles/Dockerfile.release +++ b/packages/snapshot-listener/deploy/dockerfiles/Dockerfile.release @@ -1,3 +1,3 @@ FROM snapshot-listener RUN apt-get update && apt-get install -CMD ./datadog-entrypoint.sh NODE_ENV=production node --import=extensionless/register ./build/scripts/releasePhaseEnvCheck.js \ No newline at end of file +CMD NODE_ENV=production ./datadog-entrypoint.sh node --import=extensionless/register ./build/scripts/releasePhaseEnvCheck.js \ No newline at end of file diff --git a/packages/snapshot-listener/deploy/dockerfiles/Dockerfile.web b/packages/snapshot-listener/deploy/dockerfiles/Dockerfile.web index 4b5b4655333..2b0ddf26f12 100644 --- a/packages/snapshot-listener/deploy/dockerfiles/Dockerfile.web +++ b/packages/snapshot-listener/deploy/dockerfiles/Dockerfile.web @@ -1,2 +1,2 @@ FROM snapshot-listener -CMD ./datadog-entrypoint.sh NODE_ENV=production --import=extensionless/register --enable-source-maps ./build/src/index.js \ No newline at end of file +CMD NODE_ENV=production ./datadog-entrypoint.sh --import=extensionless/register --enable-source-maps ./build/src/index.js \ No newline at end of file diff --git a/scripts/deploy-to-heroku.sh b/scripts/deploy-to-heroku.sh index af2c40fb699..6a74415501c 100755 --- a/scripts/deploy-to-heroku.sh +++ b/scripts/deploy-to-heroku.sh @@ -73,5 +73,5 @@ fi docker build . --target snapshot-listener -t snapshot-listener -f Dockerfile.commonwealth_base deploy_heroku_app "./packages/snapshot-listener/deploy/dockerfiles" ${snapshot_listener_app_name} -docker build . --target discord_bot -t discord-bot -f Dockerfile.commonwealth_base +docker build . --target discord-bot -t discord-bot -f Dockerfile.commonwealth_base deploy_heroku_app "./packages/discord-bot/deploy/dockerfiles" ${discord_bot_app_name} \ No newline at end of file