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
799474f2
Commit
799474f2
authored
6 years ago
by
nabil el mahiri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix apps folder
parent
36a11f7d
Pipeline
#517
passed with stages
in 9 minutes 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
docker/Dockerfile
+4
-4
No files found.
docker/Dockerfile
View file @
799474f2
...
...
@@ -40,7 +40,7 @@ RUN npm install --global grunt-cli
# 2. install mongo
# 3. create db folder
# 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
RUN
apt-get update
&&
apt-get
-yq
install mongodb-org
RUN
mkdir
-p
/data/db
...
...
@@ -103,9 +103,9 @@ RUN chmod -R 700 /atlasvoyages/apps
# restore mongo db database
# 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"
\;
&&
\
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
"theme-atlasvoyages*"
-type
d
\(
!
-name
.
\)
-exec
bash
-c
"cd '{}' && npm i
&& 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
--force
"
\;
&&
\
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 tree /atlasvoyages/apps/atlas-voyages/
...
...
This diff is collapsed.
Click to expand it.
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