This Docker image contains a mock server for the Next APIs.
docker build -t next-api-mock . --no-cache
The following command will run the local image and start the mock server on port 4010
docker run -p 4010:4010 pacificlife/next-api-mock
Run the "docker images" command and note the ID and the TAG of your Docker image e.g. 5e0e0eeab6bf.
docker tag 5f5ffc3a24ad pacificlife/next-api-mock:latest
docker login --username=pacificlife
docker push pacificlife/next-api-mock
Content type
Image
Digest
Size
39.6 MB
Last updated
about 8 years ago
docker pull pacificlife/next-api-mock