mirror of
https://github.com/cupcakearmy/docker-ddns-cloudflare.git
synced 2024-12-21 23:36:24 +00:00
scripts
This commit is contained in:
parent
7f8d9cc5fa
commit
42605edfe2
@ -2,7 +2,8 @@ FROM node:14-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ADD ./package.json script.js yarn.lock ./
|
||||
ADD ./package.json yarn.lock ./
|
||||
RUN yarn
|
||||
ADD ./script.js ./
|
||||
|
||||
CMD ["node", "script.js"]
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"docker:build": "docker build -t cupcakearmy/ddns-cloudflare:lastest .",
|
||||
"docker:push": "docker push cupcakearmy/ddns-cloudflare:lastest",
|
||||
"docker:publish": "yarn run docker:build && yarn run docker:push"
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^0.19.2",
|
||||
"cloudflare": "^2.7.0",
|
||||
|
Loading…
Reference in New Issue
Block a user