Commit 08e32940 by nabil el mahiri

fix apps folder

parent 37f0f283
Pipeline #504 passed with stages
in 12 minutes 9 seconds
......@@ -79,7 +79,7 @@ RUN cat ~/.ssh/id_rsa
WORKDIR /atlasvoyages
COPY ./sh /atlasvoyages/sh
# COPY ./sh /atlasvoyages/sh
# RUN login automatiquely to npm
# RUN expect -f ./sh/npm_login_expect nabilelmahiri password "nabil.elmahiri@fractalite.com"
......@@ -91,10 +91,12 @@ RUN sed -i 's/git+ssh:\/\/git@labs.atlasvoyages.com:/git+http:\/\/gitlab-ci-toke
RUN npm install --unsafe-perm=true
# hide deploy token
RUN sed -i 's/git+ssh:\/\/git@labs.atlasvoyages.com:/git+http:\/\/gitlab-ci-token:xxxxxxxxx@labs.atlasvoyages.com\//' ./package.json
COPY ./ /atlasvoyages/
RUN chmod -R 700 /atlasvoyages/apps
WORKDIR /atlasvoyages
# restore mongo db database
# RUN mongorestore --host localhost --port 27017 --gzip --archive=atlasvoyages-dev.archive
......@@ -108,6 +110,7 @@ RUN echo '\n' | grunt pine:setup
RUN grunt pine:copy
# expose port 80 443
EXPOSE 80
EXPOSE 443
......
......@@ -11,6 +11,6 @@ command=service mongod start --fork --logpath /var/log/mongod.log
command=/etc/init.d/nginx start
[program:pine]
command=grunt pine:serve
command=node /atlasvoyages/index.js 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