Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
E
easy-mock-docker
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiaoliang Chen
easy-mock-docker
Commits
a7474620
Commit
a7474620
authored
Dec 01, 2017
by
DuanPengfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: update easy-mock to 1.4.0
parent
2ad10edc
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
Dockerfile
Dockerfile
+2
-2
README.md
README.md
+1
-1
docker-compose.yml
docker-compose.yml
+1
-1
No files found.
Dockerfile
View file @
a7474620
...
...
@@ -28,8 +28,8 @@ RUN wget http://cdn.npm.taobao.org/dist/node/v8.4.0/node-v8.4.0-linux-x64.tar.gz
USER
easy-mock
RUN
mkdir
easy-mock
&&
\
wget https://github.com/easy-mock/easy-mock/archive/v1.
3.6
.tar.gz
&&
\
tar
-xzvf
v1.
3.6
.tar.gz
-C
easy-mock
--strip-components
1
wget https://github.com/easy-mock/easy-mock/archive/v1.
4.0
.tar.gz
&&
\
tar
-xzvf
v1.
4.0
.tar.gz
-C
easy-mock
--strip-components
1
# npm install dependencies and run build
WORKDIR
/home/easy-mock/easy-mock
...
...
README.md
View file @
a7474620
...
...
@@ -9,7 +9,7 @@ services:
source: ./data/db # 数据库文件存放地址,根据需要修改为本地地址
target: /data/db
web:
image: easymock/easymock:1.
3.6
image: easymock/easymock:1.
4.0
command: /bin/bash -c "npm run build && npm start"
links:
- mongodb:mongodb
...
...
docker-compose.yml
View file @
a7474620
...
...
@@ -7,7 +7,7 @@ services:
source
:
./data/db
# 数据库文件存放地址,根据需要修改为本地地址
target
:
/data/db
web
:
image
:
easymock/easymock:1.
3.6
image
:
easymock/easymock:1.
4.0
command
:
/bin/bash -c "npm run build && npm start"
links
:
-
mongodb:mongodb
...
...
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