Commit 799474f2 by nabil el mahiri

fix apps folder

parent 36a11f7d
Pipeline #517 passed with stages
in 9 minutes 3 seconds
...@@ -40,7 +40,7 @@ RUN npm install --global grunt-cli ...@@ -40,7 +40,7 @@ RUN npm install --global grunt-cli
# 2. install mongo # 2. install mongo
# 3. create db folder # 3. create db folder
# 4. run mongo in background # 4. run mongo in background
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 && \ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 && \
echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main" | tee /etc/apt/sources.list.d/mongodb-org-3.4.list echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main" | tee /etc/apt/sources.list.d/mongodb-org-3.4.list
RUN apt-get update && apt-get -yq install mongodb-org RUN apt-get update && apt-get -yq install mongodb-org
RUN mkdir -p /data/db RUN mkdir -p /data/db
...@@ -103,9 +103,9 @@ RUN chmod -R 700 /atlasvoyages/apps ...@@ -103,9 +103,9 @@ RUN chmod -R 700 /atlasvoyages/apps
# 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 ./node_modules -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 --force" \; && \
find ./node_modules -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 --force" \; && \
find ./node_modules -maxdepth 1 -name "theme-atlasvoyages*" -type d \( ! -name . \) -exec bash -c "cd '{}' && npm i && 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 --force" \;
RUN echo '\n' | grunt pine:setup RUN echo '\n' | grunt pine:setup
# RUN tree /atlasvoyages/apps/atlas-voyages/ # RUN tree /atlasvoyages/apps/atlas-voyages/
......
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