Skip to content

Commit a129738

Browse files
committed
Trial commit to test functionality
1 parent 3093acd commit a129738

File tree

4 files changed

+102
-83
lines changed

4 files changed

+102
-83
lines changed

azure/templates/build.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
steps:
22
- bash: |
3-
mkdir -p build
4-
npm run publish 2> /dev/null
5-
cp build/immunisation-fhir-api.json sandbox/
6-
7-
cd sandbox
83
docker build -t sandbox .
94
displayName: Build sandbox image
10-
workingDirectory: "$(Pipeline.Workspace)/s/$(SERVICE_NAME)"
5+
workingDirectory: "$(Pipeline.Workspace)/s/$(SERVICE_NAME)/sandbox"

sandbox/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ RUN chown -R appuser:appgroup /usr/src/prism
3636
USER appuser
3737

3838
# Running the Prism mock command with the OAS file
39-
CMD ["mock", "-h", "0.0.0.0", "-p", "9000", "immunisation-fhir-api/specification/immunisation-fhir-api.json"]
39+
CMD ["mock", "-h", "0.0.0.0", "-p", "9000", "immunisation-fhir-api/specification/immunisation-fhir-api.json"]

sandbox/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
project_name = immunisation-fhir-api
22

3-
build: spec
3+
build:
44
docker build -t $(project_name) -f Dockerfile .
55

66
run: build

0 commit comments

Comments
 (0)