- Copy
.env.example
to.env
- Replace the
docker/data.json
with your exported Mockoon data. See here - Run
docker-compose up -d
- You can access your mocked API at http://localhost:3000/users
- Enter
docker
directory - Replace the
data.json
with 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