Skip to content

Commit 66d3ee0

Browse files
manually copied over json file
1 parent 4d3bdc8 commit 66d3ee0

File tree

2 files changed

+4439
-4
lines changed

2 files changed

+4439
-4
lines changed

Dockerfile.prism

-4
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,4 @@ RUN sed -i 's/\*\/\*/application\/json/g' /prismMocks/assess-risks-and-needs.jso
2121
RUN sed -i 's/\*\/\*/application\/json/g' /prismMocks/case-notes.json
2222
RUN sed -i 's/\*\/\*/application\/json/g' /prismMocks/prisoner-offender-search.json
2323

24-
# new files from this point on need to start with an x- followed by the port number:
25-
ADD https://learningandworkprogress-api-dev.hmpps.service.justice.gov.uk/v3/api-docs /prismMocks/x4020-plp-api.json
26-
27-
2824
ENTRYPOINT sh -c 'port=4010; for file in $(ls /prismMocks/*.json | sort); do node dist/index.js mock -p $port -h 0.0.0.0 $file & port=$((port + 1)); done; wait'

0 commit comments

Comments
 (0)