Skip to content

Commit

Permalink
pull spec during docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpearce-digital committed Jan 16, 2025
1 parent f0436ef commit 03028c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docker/mock-pay/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM outofcoffee/imposter:4.5.0

COPY ./docker/mock-pay /opt/imposter/config/

ADD https://raw.githubusercontent.com/alphagov/pay-publicapi/master/openapi/publicapi_spec.json /opt/imposter/config/publicapi_spec.json

USER imposter

EXPOSE 8080
2 changes: 1 addition & 1 deletion docker/mock-pay/mock-pay-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugin: openapi
specFile: https://raw.githubusercontent.com/alphagov/pay-publicapi/master/openapi/publicapi_spec.json
specFile: /opt/imposter/config/publicapi_spec.json
response:
scriptFile: payments.js

Expand Down

0 comments on commit 03028c1

Please sign in to comment.