Commit 89062c67 authored by DuanPengfei's avatar DuanPengfei

feat: update easy-mock to 1.3.3

parent 25c6c31f
...@@ -28,8 +28,8 @@ RUN wget http://cdn.npm.taobao.org/dist/node/v8.4.0/node-v8.4.0-linux-x64.tar.gz ...@@ -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 USER easy-mock
RUN mkdir easy-mock && \ RUN mkdir easy-mock && \
wget https://github.com/easy-mock/easy-mock/archive/v1.3.1.tar.gz && \ wget https://github.com/easy-mock/easy-mock/archive/v1.3.3.tar.gz && \
tar -xzvf v1.3.1.tar.gz -C easy-mock --strip-components 1 tar -xzvf v1.3.3.tar.gz -C easy-mock --strip-components 1
# npm install dependencies and run build # npm install dependencies and run build
WORKDIR /home/easy-mock/easy-mock WORKDIR /home/easy-mock/easy-mock
......
...@@ -9,7 +9,7 @@ services: ...@@ -9,7 +9,7 @@ services:
source: ./data/db # 数据库文件存放地址,根据需要修改为本地地址 source: ./data/db # 数据库文件存放地址,根据需要修改为本地地址
target: /data/db target: /data/db
web: web:
image: easymock/easymock:1.3.0 image: easymock/easymock:1.3.3
command: /bin/bash -c "npm run build && npm start" command: /bin/bash -c "npm run build && npm start"
links: links:
- mongodb:mongodb - mongodb:mongodb
......
...@@ -7,7 +7,7 @@ services: ...@@ -7,7 +7,7 @@ services:
source: ./data/db # 数据库文件存放地址,根据需要修改为本地地址 source: ./data/db # 数据库文件存放地址,根据需要修改为本地地址
target: /data/db target: /data/db
web: web:
image: easymock/easymock:1.3.1 image: easymock/easymock:1.3.3
command: /bin/bash -c "npm run build && npm start" command: /bin/bash -c "npm run build && npm start"
links: links:
- mongodb:mongodb - mongodb:mongodb
......
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