File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ compile:
1212 npx tsp compile ./typespec/js-playwright/main.tsp --output-dir " ./tsp-output/js-playwright"
1313
1414dev :
15- docker run -v ./custom-server:/custom-server -p $(PORT ) :$(PORT ) $(IMAGE_ID )
15+ docker run -e PORT= $( PORT ) - v ./custom-server:/custom-server -p $(PORT ) :$(PORT ) $(IMAGE_ID )
1616
1717start :
1818 prism mock -m -p 4011 --host 0.0.0.0 ./tsp-output/http-api/@typespec/openapi3/openapi.1.0.yaml &
Original file line number Diff line number Diff line change @@ -2,18 +2,16 @@ https://twirl.github.io/The-API-Book/API.ru.html
22
33## Prerequisites
44
5- * Nodejs 20+
6- * Ubuntu/Macos
75* Make
8- * Docker (for deploy)
6+ * Docker
97
108## Commands
119
1210See [ Makefile] ( ./Makefile )
1311
1412``` bash
15- make setup
16- make dev # Open http://localhost:8080
13+ make docker-build
14+ make docker-run # Open http://localhost:8080
1715```
1816
1917---
You can’t perform that action at this time.
0 commit comments