Skip to content

Commit ea9146d

Browse files
committed
Fix Dockerfile: correct frontend package.json paths
1 parent f4f5b1e commit ea9146d

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

Dockerfile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,17 @@ FROM base AS dependencies
6363
# 复制依赖文件
6464
COPY Gemfile Gemfile.lock ./
6565
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
66-
COPY frontend/package.json frontend/
66+
67+
# 复制所有 frontend 子项目的 package.json
68+
COPY frontend/discourse/package.json frontend/discourse/
69+
COPY frontend/asset-processor/package.json frontend/asset-processor/
70+
COPY frontend/discourse-i18n/package.json frontend/discourse-i18n/
71+
COPY frontend/discourse-markdown-it/package.json frontend/discourse-markdown-it/
72+
COPY frontend/discourse-types/package.json frontend/discourse-types/
73+
COPY frontend/deprecation-silencer/package.json frontend/deprecation-silencer/
74+
COPY frontend/custom-proxy/package.json frontend/custom-proxy/
75+
COPY frontend/ember-cli-progress-ci/package.json frontend/ember-cli-progress-ci/
76+
COPY frontend/pretty-text/package.json frontend/pretty-text/
6777

6878
# 安装 Ruby gems
6979
RUN bundle config set --local deployment 'true' \

0 commit comments

Comments
 (0)