Closed
Description
Are you experiencing an issue with...
- shields.io
- My own instance
- gh-badges NPM package
🪲 Description
Hi, I'm trying to build a docker image and host shileds locally, so I just cloned the code and try building it, but an error occurred.
$ docker build -t shields .
Sending build context to Docker daemon 2.912MB
Error response from daemon: Dockerfile parse error line 19: unknown instruction: NODE
It seems we're missing the RUN
keywork in line 19, I fixed it and run building again, and I got this error.
Step 9/15 : RUN npm install
---> Running in f088c77a58d9
npm WARN deprecated [email protected]: New custom equality api does not play well with all equality helpers. Please use v5.x
npm WARN deprecated [email protected]: no longer maintained
npm WARN deprecated [email protected]: Package no longer supported. Contact [email protected] for more info.
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
npm ERR! code ENOLOCAL
npm ERR! Could not install from "gh-badges" as it does not contain a package.json file.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-01-20T01_46_18_335Z-debug.log
The command '/bin/sh -c npm install' returned a non-zero code: 1
Please take a look. If you have an official docker image, please add it to README. Thanks!
🔗 Link to the badge
💡 Possible Solution