Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix entrypoint script line endings (#900)

Rhon Joe71a9d6323223
diff --git a/web/Dockerfile b/web/Dockerfile
index 8c18e1adf06..34e20c5c288 100644
--- a/web/Dockerfile
+++ b/web/Dockerfile
@@ -25,7 +25,7 @@ RUN yarn build
# production stage
FROM base as production
-ENV NODE_ENV=production
+ENV NODE_ENV production
ENV EDITION SELF_HOSTED
ENV DEPLOY_ENV PRODUCTION
ENV CONSOLE_API_URL http://127.0.0.1:5001
diff --git a/web/docker/entrypoint.sh b/web/docker/entrypoint.sh
index 77fee3ca779..474c329816d 100644
--- a/web/docker/entrypoint.sh
+++ b/web/docker/entrypoint.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
set -e