Commit 25c6c31f authored by DuanPengfei's avatar DuanPengfei

feat: update easy-mock to 1.3.1

parent a0008a86
......@@ -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.0.tar.gz && \
tar -xzvf v1.3.0.tar.gz -C easy-mock --strip-components 1
wget https://github.com/easy-mock/easy-mock/archive/v1.3.1.tar.gz && \
tar -xzvf v1.3.1.tar.gz -C easy-mock --strip-components 1
# npm install dependencies and run build
WORKDIR /home/easy-mock/easy-mock
......
......@@ -7,7 +7,7 @@ services:
source: ./data/db # 数据库文件存放地址,根据需要修改为本地地址
target: /data/db
web:
image: easymock/easymock:1.3.0
image: easymock/easymock:1.3.1
command: /bin/bash -c "npm run build && npm start"
links:
- 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