Merge 33ffeb9352
into 72ed8fa4a9
This commit is contained in:
commit
32a4d78b70
1 changed files with 9 additions and 1 deletions
|
@ -77,6 +77,14 @@ The fallback option is principally useful for single-page applications (SPAs) wh
|
|||
|
||||
The second case is useful if you have multiple SPAs within the one filesystem. e.g., */* and */admin*.
|
||||
|
||||
Example with a absolute path for a SPA setup :
|
||||
|
||||
```dockerfile
|
||||
FROM pierrezemb/gostatic:latest
|
||||
COPY ./your/dist/folder /srv/http
|
||||
EXPOSE 8043
|
||||
CMD [ "-fallback", "index.html" ]
|
||||
```
|
||||
|
||||
## Build
|
||||
|
||||
|
|
Loading…
Reference in a new issue