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
4a846e1c
Commit
4a846e1c
authored
Mar 07, 2019
by
nabil el mahiri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new clean docker file
parent
7a477f14
Pipeline
#476
failed with stages
in 12 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
docker/Dockerfile
+7
-7
No files found.
docker/Dockerfile
View file @
4a846e1c
...
@@ -36,13 +36,13 @@ COPY /nginx/default.conf /etc/nginx/sites-enabled
...
@@ -36,13 +36,13 @@ COPY /nginx/default.conf /etc/nginx/sites-enabled
RUN
npm install
--global
grunt-cli
RUN
npm install
--global
grunt-cli
# install mongo version 3.4
# install mongo version 3.4
# add mongo repo
#
1.
add mongo repo
# install mongo
#
2.
install mongo
# create db folder
#
3.
create db folder
# 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/cmain"
| tee /etc/apt/sources.list.d/mongodb-org-3.4.list
&&
\
echo
"deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/cmain"
| tee /etc/apt/sources.list.d/mongodb-org-3.4.list
apt-get update
&&
apt-get
-yq
install mongodb-org
&&
\
RUN
apt-get update
&&
apt-get
-yq
install mongodb-org
&&
\
mongod
--fork
--syslog
&&
\
mongod
--fork
--syslog
&&
\
mkdir
-p
/data/db
mkdir
-p
/data/db
...
...
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