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: yarn install command in web Dockerfile (#2084)

Bowen Liangf3323beaca26
diff --git a/web/Dockerfile b/web/Dockerfile
index 422fab37c47..1c2ba6bc2e3 100644
--- a/web/Dockerfile
+++ b/web/Dockerfile
@@ -1,16 +1,16 @@
# base image
FROM node:20.11.0-alpine AS base
+LABEL maintainer="[email protected]"
# install packages
FROM base as packages
-LABEL maintainer="[email protected]"
WORKDIR /app/web
COPY package.json .
COPY yarn.lock .
-RUN yarn --only=prod
+RUN yarn install --frozen-lockfile
# build resources
@@ -40,7 +40,6 @@ COPY --from=builder /app/web/.next/static ./.next/static
COPY docker/entrypoint.sh ./entrypoint.sh
-RUN chmod +x ./entrypoint.sh
ARG COMMIT_SHA
ENV COMMIT_SHA ${COMMIT_SHA}