- Copy
.env.exampleto.env - Replace the
docker/data.jsonwith your exported Mockoon data. See here - Run
docker-compose up -d - You can access your mocked API at http://localhost:3000/users
- Enter
dockerdirectory - Replace the
data.jsonwith your exported Mockoon data. - Run
docker build -t my-mockoon . - Run
docker run -d -p 3000:3000 my-mockoon - You can access your mocked API at http://localhost:3000/users