mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 01:29:01 +08:00
fix: yarn install extract package err when using GitHub Cache in amd6… (#3383)
This commit is contained in:
parent
e15d18aa1c
commit
6fa0e4072d
@ -99,7 +99,7 @@ class Config:
|
|||||||
# ------------------------
|
# ------------------------
|
||||||
# General Configurations.
|
# General Configurations.
|
||||||
# ------------------------
|
# ------------------------
|
||||||
self.CURRENT_VERSION = "0.6.2-fix1"
|
self.CURRENT_VERSION = "0.6.2"
|
||||||
self.COMMIT_SHA = get_env('COMMIT_SHA')
|
self.COMMIT_SHA = get_env('COMMIT_SHA')
|
||||||
self.EDITION = "SELF_HOSTED"
|
self.EDITION = "SELF_HOSTED"
|
||||||
self.DEPLOY_ENV = get_env('DEPLOY_ENV')
|
self.DEPLOY_ENV = get_env('DEPLOY_ENV')
|
||||||
|
@ -2,7 +2,7 @@ version: '3'
|
|||||||
services:
|
services:
|
||||||
# API service
|
# API service
|
||||||
api:
|
api:
|
||||||
image: langgenius/dify-api:0.6.2-fix1-fix1
|
image: langgenius/dify-api:0.6.2
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
# Startup mode, 'api' starts the API server.
|
# Startup mode, 'api' starts the API server.
|
||||||
@ -150,7 +150,7 @@ services:
|
|||||||
# worker service
|
# worker service
|
||||||
# The Celery worker for processing the queue.
|
# The Celery worker for processing the queue.
|
||||||
worker:
|
worker:
|
||||||
image: langgenius/dify-api:0.6.2-fix1
|
image: langgenius/dify-api:0.6.2
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
# Startup mode, 'worker' starts the Celery worker for processing the queue.
|
# Startup mode, 'worker' starts the Celery worker for processing the queue.
|
||||||
@ -232,7 +232,7 @@ services:
|
|||||||
|
|
||||||
# Frontend web application.
|
# Frontend web application.
|
||||||
web:
|
web:
|
||||||
image: langgenius/dify-web:0.6.2-fix1
|
image: langgenius/dify-web:0.6.2
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
EDITION: SELF_HOSTED
|
EDITION: SELF_HOSTED
|
||||||
|
@ -13,12 +13,10 @@ WORKDIR /app/web
|
|||||||
COPY package.json .
|
COPY package.json .
|
||||||
COPY yarn.lock .
|
COPY yarn.lock .
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/root/.yarn YARN_CACHE_FOLDER=/root/.yarn \
|
RUN yarn install --frozen-lockfile
|
||||||
yarn install --frozen-lockfile
|
|
||||||
|
|
||||||
# if you located in China, you can use taobao registry to speed up
|
# 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 \
|
# RUN yarn install --frozen-lockfile --registry https://registry.npm.taobao.org/
|
||||||
# yarn install --frozen-lockfile --registry https://registry.npm.taobao.org/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dify-web",
|
"name": "dify-web",
|
||||||
"version": "0.6.2-fix1",
|
"version": "0.6.2",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user