Skip to content

Commit

Permalink
chore(docker): add Dockerfile and scripts for IPQuality service
Browse files Browse the repository at this point in the history
Signed-off-by: donniean <donniean1@gmail.com>
  • Loading branch information
donniean committed Feb 20, 2025
1 parent 2a0648e commit 4d8c82a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/IPQuality/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM alpine:latest

RUN apk update && apk add bash curl

CMD bash <(curl -Ls IP.Check.Place)
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
"type": "module",
"scripts": {
"commit": "cz",
"docker:ip-quality:build": "docker build --tag ip-quality ./docker/IPQuality",
"docker:ip-quality:run": "docker run --name IPQuality -it --rm ip-quality",
"preinstall": "npx only-allow npm",
"lint-all": "concurrently --group --timings --prefix-colors=auto \"npm:lint:*(!:fix)\"",
"lint-all:fix": "concurrently --max-processes=1 --group --timings --prefix-colors=auto \"npm:lint:*:fix\"",
Expand Down

0 comments on commit 4d8c82a

Please # to comment.