Skip to content

Commit d73d6be

Browse files
committed
Pass stdio arg to upstream
1 parent 1d51a20 commit d73d6be

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
sleep 5
4747
4848
# Check API
49-
curl -f http://localhost:4000/stats
49+
curl -f http://localhost:4000/stats || (docker logs proxy && exit 1)
5050
5151
# Clean up background container
5252
docker rm -f proxy

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ ENV STRUCTURA_POLICY_PATH="/app/policy.yaml"
4848

4949
EXPOSE 4000
5050

51-
CMD ["node", "packages/proxy/dist/index.js"]
51+
CMD ["node", "packages/proxy/dist/index.js", "stdio"]

‎run.log‎

3.29 KB
Binary file not shown.

0 commit comments

Comments
 (0)