This commit is contained in:
cupcakearmy 2020-07-29 09:25:02 +02:00
parent 7f8d9cc5fa
commit 42605edfe2
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9
2 changed files with 7 additions and 1 deletions

View File

@ -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"]

View File

@ -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",