Commit d4f3be6a by nabil el mahiri

using npm login with except

parent 7750c7cc
Pipeline #322 failed with stages
in 17 seconds
...@@ -34,15 +34,17 @@ RUN apt-get -yq install expect-dev ...@@ -34,15 +34,17 @@ RUN apt-get -yq install expect-dev
# sudo ./mongodb/bin/mongodump --host localhost --port 27017 --db atlasvoyages-dev --gzip --archive=atlasvoyages-dev.archive # sudo ./mongodb/bin/mongodump --host localhost --port 27017 --db atlasvoyages-dev --gzip --archive=atlasvoyages-dev.archive
COPY ./ /atlasvoyages/
WORKDIR /atlasvoyages WORKDIR /atlasvoyages
COPY package*.json /atlasvoyages/ COPY package*.json /atlasvoyages/
RUN npm install --global grunt-cli RUN npm install --global grunt-cli
COPY ./ /atlasvoyages/
RUN expect -f /sh/npm_login_expect nabilelmahiri arigatou@65 "nabil.elmahiri@fractalite.com"
RUN expect -f ./sh/npm_login_expect nabilelmahiri arigatou@65 "nabil.elmahiri@fractalite.com"
# RUN echo "//<npm-registry>:8080/:_authToken=KB9DEBiM5vNeGPwinPuj" > ~/.npmrc # RUN echo "//<npm-registry>:8080/:_authToken=KB9DEBiM5vNeGPwinPuj" > ~/.npmrc
RUN npm install --save --unsafe-perm=true RUN npm install --save --unsafe-perm=true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment