diff --git a/Dockerfile b/Dockerfile index abf3688..3bea224 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,12 +42,12 @@ RUN npm prune --production EXPOSE 3000 # Dynamically set PRISMA_CLI_BINARY_TARGETS based on runtime architecture and start -CMD ["sh", "-c", \ - "export PRISMA_CLI_BINARY_TARGETS=$(case $(uname -m) in \ - x86_64) echo 'linux-musl-openssl-3.0.x' ;; \ - aarch64) echo 'linux-musl-arm64-openssl-3.0.x' ;; \ - armv7l) echo 'linux-musl-arm-openssl-3.0.x' ;; \ - *) echo "Unsupported architecture: $(uname -m)" && exit 1 ;; \ - esac) && \ - npx prisma migrate deploy && \ - npm start"] \ No newline at end of file +CMD ["sh", "-c", "\ + export PRISMA_CLI_BINARY_TARGETS=$(case $(uname -m) in \ + x86_64) echo linux-musl-openssl-3.0.x ;; \ + aarch64) echo linux-musl-arm64-openssl-3.0.x ;; \ + armv7l) echo linux-musl-arm-openssl-3.0.x ;; \ + *) echo \"Unsupported architecture: $(uname -m)\" && exit 1 ;; \ + esac) && \ + npx prisma migrate deploy && \ + npm start"] \ No newline at end of file