Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlasvoayages.com
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nabil el mahiri
atlasvoayages.com
Commits
08e32940
Commit
08e32940
authored
Mar 13, 2019
by
nabil el mahiri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix apps folder
parent
37f0f283
Pipeline
#504
passed with stages
in 12 minutes 9 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
docker/Dockerfile
+5
-2
docker/supervisord.conf
+1
-1
No files found.
docker/Dockerfile
View file @
08e32940
...
@@ -79,7 +79,7 @@ RUN cat ~/.ssh/id_rsa
...
@@ -79,7 +79,7 @@ RUN cat ~/.ssh/id_rsa
WORKDIR
/atlasvoyages
WORKDIR
/atlasvoyages
COPY
./sh /atlasvoyages/sh
#
COPY ./sh /atlasvoyages/sh
# RUN login automatiquely to npm
# RUN login automatiquely to npm
# RUN expect -f ./sh/npm_login_expect nabilelmahiri password "nabil.elmahiri@fractalite.com"
# 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
...
@@ -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
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/
COPY
./ /atlasvoyages/
RUN
chmod
-R
700 /atlasvoyages/apps
RUN
chmod
-R
700 /atlasvoyages/apps
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
...
@@ -108,6 +110,7 @@ RUN echo '\n' | grunt pine:setup
...
@@ -108,6 +110,7 @@ RUN echo '\n' | grunt pine:setup
RUN
grunt pine:copy
RUN
grunt pine:copy
# expose port 80 443
# expose port 80 443
EXPOSE
80
EXPOSE
80
EXPOSE
443
EXPOSE
443
...
...
docker/supervisord.conf
View file @
08e32940
...
@@ -11,6 +11,6 @@ command=service mongod start --fork --logpath /var/log/mongod.log
...
@@ -11,6 +11,6 @@ command=service mongod start --fork --logpath /var/log/mongod.log
command
=/
etc
/
init
.
d
/
nginx
start
command
=/
etc
/
init
.
d
/
nginx
start
[
program
:
pine
]
[
program
:
pine
]
command
=
grunt
pine
:
serve
command
=
node
/
atlasvoyages
/
index
.
js
atlas
-
voyages
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment