FIX: Added aws cli installation on dockerfile

This commit is contained in:
rodrigo.zamboni
2022-06-29 15:15:13 -03:00
parent 1e66065a21
commit 7eae88b5cd
+7
View File
@@ -4,7 +4,14 @@ ARG NPM_TOKEN
COPY package.json .
COPY package-lock.json .
COPY .npmrc .
RUN apt update && apt install -y curl unzip
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
RUN unzip awscliv2.zip
RUN ./aws/install
RUN aws codeartifact login --tool npm --repository dadosfera-npm --domain dadosfera --domain-owner 611330257153
RUN npm install
RUN rm -f ./.npmrc