Dockfile for V5
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- azure, docker, javascript, node.js
Hướng nghiên cứu
Bắt đầu với Dockerfile và các tệp package*.json được sử dụng bởi bản build Azure Container Registry được hiển thị, sau đó theo dõi lệnh cài đặt highcharts-export-server gọi install.js. Kiểm tra điểm vào bin/cli.js và chạy lệnh az acr build được hiển thị; hoàn tất khi image được build thành công và container khởi động bằng lệnh server được yêu cầu.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I downloaded the V5 and added a Dockerfile under the root directory like below. It threw me the following error when trying to create a docker image and publish it to Azure container registry. Any thoughts?
Dockerfile:
FROM node:18
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 8080
CMD ["node", "bin/cli.js", "--enableServer", "1", "--port", "8080"]
CLI commands:
az acr build --file Dockerfile --registry 1mapdevacr --image bphighcharts:v5 .
Error:
.
.
Step 4/7 : RUN npm install
---> Running in 76a87b1e9f44
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead
npm warn deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead
> [email protected] install
> node ./install.js
node:internal/modules/cjs/loader:1143
throw err;
^
Error: Cannot find module '/usr/src/app/install.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v18.20.8
npm error code 1
npm error path /usr/src/app
npm error command failed
npm error command sh -c node ./install.js
npm notice
npm notice New major version of npm available! 10.8.2 -> 11.3.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.3.0
npm notice To update run: npm install -g [email protected]
npm notice
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-04-28T17_46_54_998Z-debug-0.log
The command '/bin/sh -c npm install' returned a non-zero code: 1
2025/04/28 17:47:24 Container failed during run: build. No retries remaining.
failed to run step ID: build: exit status 1
Run ID: cgnc failed after 1m2s. Error: failed during run, err: exit status 1
Run failed
- Ngôn ngữ chính
- JavaScript
- Star
- 368
- Fork
- 266
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của highcharts/node-export-server
-
Update Puppeteer to version 25.11.0+ to allow ARM64 linux images to run node-export-serverCó thể đã có người làm @daniatic đã nhận 17 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
highcharts/node-export-server#686 ·
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 66/100
highcharts/node-export-server#690 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
highcharts/node-export-server#680 · 1 bình luận ·
-
How to get a response statusĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
highcharts/node-export-server#679 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
highcharts/node-export-server#678 ·
Tất cả issue của highcharts/node-export-server
Issue tương tự
-
[Bug] Pitch Converter gives the wrong octave for B♯, C♭, B𝄪 and C𝄫Có thể đã có người làm @bhuvan-somisetty đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
sugarlabs/musicblocks#9765 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
adaumsilva/OrchestrAI#51 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Jason-Vaughan/TangleClaw#2546 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
rubyjs/mini_racer#449 ·
-
area:integration enhancement good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100