Commit 3b64d862 by 杨明

Merge branch 'v1.0.1' of http://192.168.3.233:8090/h5/glsk-ai-assistant into v1.0.1

2 parents d5667bcb 4a5c890f
......@@ -22,7 +22,7 @@ COPY pnpm-lock.yaml .
# if you located in China, you can use taobao registry to speed up
# RUN pnpm install --frozen-lockfile --registry https://registry.npmmirror.com/
RUN pnpm install --frozen-lockfile
RUN pnpm install --frozen-lockfile --registry https://registry.npmmirror.com/
# build resources
FROM base AS builder
......@@ -40,10 +40,19 @@ FROM base AS production
ENV NODE_ENV=production
ENV EDITION=SELF_HOSTED
ENV DEPLOY_ENV=PRODUCTION
ENV CONSOLE_API_URL=http://127.0.0.1:5001
ENV APP_API_URL=http://127.0.0.1:5001
ENV MARKETPLACE_API_URL=https://marketplace.dify.ai
ENV MARKETPLACE_URL=https://marketplace.dify.ai
#ENV CONSOLE_API_URL=http://127.0.0.1:5001
#ENV APP_API_URL=http://127.0.0.1:5001
#ENV MARKETPLACE_API_URL=http://127.0.0.1:5001
#ENV MARKETPLACE_URL=http://127.0.0.1:5001
ENV CONSOLE_API_URL=http://192.168.3.241
ENV APP_API_URL=http://192.168.3.241
ENV MARKETPLACE_API_URL=http://192.168.3.241
ENV MARKETPLACE_URL=http://192.168.3.241
ENV PORT=3000
ENV NEXT_TELEMETRY_DISABLED=1
ENV PM2_INSTANCES=2
......@@ -63,7 +72,7 @@ COPY docker/entrypoint.sh ./entrypoint.sh
# global runtime packages
RUN pnpm add -g pm2 \
RUN pnpm add -g pm2 --registry https://registry.npmmirror.com/\
&& mkdir /.pm2 \
&& chown -R 1001:0 /.pm2 /app/web \
&& chmod -R g=u /.pm2 /app/web
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!