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 extract package err when using GitHub Cache in amd6… (#3383)

takatost6fa0e4072dab
diff --git a/api/config.py b/api/config.py
index 88c37719141..2bd007c509b 100644
--- a/api/config.py
+++ b/api/config.py
@@ -99,7 +99,7 @@ class Config:
# ------------------------
# General Configurations.
# ------------------------
- self.CURRENT_VERSION = "0.6.2-fix1"
+ self.CURRENT_VERSION = "0.6.2"
self.COMMIT_SHA = get_env('COMMIT_SHA')
self.EDITION = "SELF_HOSTED"
self.DEPLOY_ENV = get_env('DEPLOY_ENV')
diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml
index 0f97534a23c..e9c9d170bde 100644
--- a/docker/docker-compose.yaml
+++ b/docker/docker-compose.yaml
@@ -2,7 +2,7 @@ version: '3'
services:
# API service
api:
- image: langgenius/dify-api:0.6.2-fix1-fix1
+ image: langgenius/dify-api:0.6.2
restart: always
environment:
# Startup mode, 'api' starts the API server.
@@ -150,7 +150,7 @@ services:
# worker service
# The Celery worker for processing the queue.
worker:
- image: langgenius/dify-api:0.6.2-fix1
+ image: langgenius/dify-api:0.6.2
restart: always
environment:
# Startup mode, 'worker' starts the Celery worker for processing the queue.
@@ -232,7 +232,7 @@ services:
# Frontend web application.
web:
- image: langgenius/dify-web:0.6.2-fix1
+ image: langgenius/dify-web:0.6.2
restart: always
environment:
EDITION: SELF_HOSTED
diff --git a/web/Dockerfile b/web/Dockerfile
index 175b5916c15..dda56e0ad9a 100644
--- a/web/Dockerfile
+++ b/web/Dockerfile
@@ -13,12 +13,10 @@ WORKDIR /app/web
COPY package.json .
COPY yarn.lock .
-RUN --mount=type=cache,target=/root/.yarn YARN_CACHE_FOLDER=/root/.yarn \
- yarn install --frozen-lockfile
+RUN yarn install --frozen-lockfile
# if you located in China, you can use taobao registry to speed up
-# RUN --mount=type=cache,target=/root/.yarn YARN_CACHE_FOLDER=/root/.yarn \
-# yarn install --frozen-lockfile --registry https://registry.npm.taobao.org/
+# RUN yarn install --frozen-lockfile --registry https://registry.npm.taobao.org/
diff --git a/web/package.json b/web/package.json
index 2b17b36ad69..7c253a1e70e 100644
--- a/web/package.json
+++ b/web/package.json
@@ -1,6 +1,6 @@
{
"name": "dify-web",
- "version": "0.6.2-fix1",
+ "version": "0.6.2",
"private": true,
"scripts": {
"dev": "next dev",