Install curl

This commit is contained in:
2022-03-06 20:05:45 +07:00
parent c3815c064e
commit dc6417e40d

View File

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