File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
docs/docs/05_flask_smorest/05_reload_api_docker_container Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -80,13 +80,25 @@ docker run -dp 5000:5000 -w /app -v "$(pwd):/app" flask-smorest-api
8080```
8181
8282:::info Windows command
83- The command on Windows is the same, but the paths have to be passed in differently:
83+ The command on Windows varies depending on what terminal application you use. Here are some of the most popular ones!
84+
85+ ** PowerShell**
86+
87+ ```
88+ docker run -dp 5000:5000 -w //app -v "$(Get-Location)://app" flask-smorest-api
89+ ```
90+
91+ ** Git Bash**
8492
8593```
86- docker run -dp 5000:5000 -w /app -v "/c/Documents/yourproject: /app" flask-smorest-api
94+ docker run -dp 5000:5000 -w // app -v "//$(pwd):/ /app" flask-smorest-api
8795```
8896
89- Instead of ` /c/Documents/yourproject ` , use the path to your project (but remember to use ` /c/ ` instead of ` C:/ ` ).
97+ ** Command Prompt (CMD)**
98+
99+ ```
100+ docker run -dp 5000:5000 -w //app -v "%cd%://app" flask-smorest-api
101+ ```
90102:::
91103
92104- ` -dp 5000:5000 ` - same as before. Run in detached (background) mode and create a port mapping.
You can’t perform that action at this time.
0 commit comments