Commit ba03091e by nabil el mahiri

npm login

parent dd07aff2
Pipeline #492 failed with stages
in 13 minutes 24 seconds
...@@ -13,6 +13,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ ...@@ -13,6 +13,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y supervisor && \ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y supervisor && \
apt-get install -y gnupg2 && \ apt-get install -y gnupg2 && \
apt-get install -yq ssh && \ apt-get install -yq ssh && \
apt-get install -yq tree && \
apt-get install -y openssh-server && \ apt-get install -y openssh-server && \
apt-get install -yq redis-server apt-get install -yq redis-server
...@@ -92,18 +93,17 @@ RUN npm install --unsafe-perm=true ...@@ -92,18 +93,17 @@ RUN npm install --unsafe-perm=true
COPY ./ /atlasvoyages/ COPY ./ /atlasvoyages/
WORKDIR /atlasvoyages/node_modules WORKDIR /atlasvoyages
# restore mongo db database # restore mongo db database
# RUN mongorestore --host localhost --port 27017 --gzip --archive=atlasvoyages-dev.archive # RUN mongorestore --host localhost --port 27017 --gzip --archive=atlasvoyages-dev.archive
RUN find . -maxdepth 1 -name "pine*" -type d \( ! -name . \) -exec bash -c "cd '{}' && npm i --unsafe-perm=true && grunt build:dist" \; && \ RUN find ./node_modules -maxdepth 1 -name "pine*" -type d \( ! -name . \) -exec bash -c "cd '{}' && npm i --unsafe-perm=true && grunt build:dist" \; && \
find . -maxdepth 1 -name "hermes*" -type d \( ! -name . \) -exec bash -c "cd '{}' && npm i --unsafe-perm=true && grunt build:dist" \; && \ find ./node_modules -maxdepth 1 -name "hermes*" -type d \( ! -name . \) -exec bash -c "cd '{}' && npm i --unsafe-perm=true && grunt build:dist" \; && \
find . -maxdepth 1 -name "theme-atlasvoyages*" -type d \( ! -name . \) -exec bash -c "cd '{}' && npm i --unsafe-perm=true && grunt build:dist" \; find ./node_modules -maxdepth 1 -name "theme-atlasvoyages*" -type d \( ! -name . \) -exec bash -c "cd '{}' && npm i --unsafe-perm=true && grunt build:dist" \;
WORKDIR /atlasvoyages
RUN echo '\n' | grunt pine:setup RUN echo '\n' | grunt pine:setup
RUN tree /atlasvoyages
RUN grunt pine:copy RUN grunt pine:copy
......
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