mirror of
https://github.com/YuzuZensai/Cloudflare-DDNS-Updater.git
synced 2026-01-06 04:33:03 +00:00
Install curl
This commit is contained in:
@@ -4,6 +4,7 @@ WORKDIR /home/node/app
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN apt-get update -y
|
RUN apt-get update -y
|
||||||
|
RUN apt-get install curl -y
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_17.x | bash -
|
RUN curl -sL https://deb.nodesource.com/setup_17.x | bash -
|
||||||
RUN apt-get -y install nodejs
|
RUN apt-get -y install nodejs
|
||||||
RUN npm i -g yarn
|
RUN npm i -g yarn
|
||||||
@@ -15,6 +16,7 @@ FROM debian
|
|||||||
WORKDIR /home/node/app
|
WORKDIR /home/node/app
|
||||||
|
|
||||||
RUN apt-get update -y
|
RUN apt-get update -y
|
||||||
|
RUN apt-get install curl -y
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_17.x | bash -
|
RUN curl -sL https://deb.nodesource.com/setup_17.x | bash -
|
||||||
RUN apt-get -y install nodejs
|
RUN apt-get -y install nodejs
|
||||||
RUN npm i -g yarn
|
RUN npm i -g yarn
|
||||||
|
|||||||
Reference in New Issue
Block a user