Skip to content

Commit 00d58c8

Browse files
committedMay 3, 2024
meta: add docker image
1 parent 86ba631 commit 00d58c8

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed
 

‎Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM stoplight/prism:5
2+
EXPOSE 4010
3+
CMD ["mock", "-h", "0.0.0.0", "https://docs.moov.io/openapi/openapi.json"]

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ HTTP server that responds like Moov's API, but with mocked responses. moov-mock
1010
## Usage
1111

1212
```
13-
docker run -p 4010:4010 stoplight/prism:5 mock -h 0.0.0.0 https://docs.moov.io/openapi/openapi.json
13+
docker run -p 4010:4010 moovfinancial/mock:latest
1414
```
1515

1616
## License

‎makefile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.PHONY: build
2+
build:
3+
docker build -t moovfinancial/mock:latest .
4+
5+
run:
6+
docker run -p 4010:4010 moovfinancial/mock:latest

0 commit comments

Comments
 (0)
Please sign in to comment.