docker-ddns-cloudflare/Dockerfile

9 lines
121 B
Docker
Raw Normal View History

2020-07-23 10:52:07 +00:00
FROM node:14-alpine
2019-01-22 11:37:36 +00:00
2020-07-23 10:52:07 +00:00
WORKDIR /app
2019-01-22 11:37:36 +00:00
2020-07-29 07:25:02 +00:00
ADD ./package.json yarn.lock ./
2020-07-23 10:52:07 +00:00
RUN yarn
2020-07-29 07:25:02 +00:00
ADD ./script.js ./
2019-01-22 11:37:36 +00:00
2020-07-23 10:52:07 +00:00
CMD ["node", "script.js"]