mirror of
https://github.com/cupcakearmy/docker-ddns-cloudflare.git
synced 2024-12-22 07:46:24 +00:00
scripts
This commit is contained in:
parent
7f8d9cc5fa
commit
42605edfe2
@ -2,7 +2,8 @@ FROM node:14-alpine
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
ADD ./package.json script.js yarn.lock ./
|
ADD ./package.json yarn.lock ./
|
||||||
RUN yarn
|
RUN yarn
|
||||||
|
ADD ./script.js ./
|
||||||
|
|
||||||
CMD ["node", "script.js"]
|
CMD ["node", "script.js"]
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"license": "MIT",
|
"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": {
|
"dependencies": {
|
||||||
"axios": "^0.19.2",
|
"axios": "^0.19.2",
|
||||||
"cloudflare": "^2.7.0",
|
"cloudflare": "^2.7.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user