diff --git a/Dockerfile b/Dockerfile index 4c261e9..20cbf80 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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