We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 333ccdc commit c3bf065Copy full SHA for c3bf065
README.md
@@ -9,8 +9,13 @@ This docker image can be used for single page apps (SPAs) in history mode. It se
9
To create your own dockerfile, simply copy your distribution folder (often `dist/` or `build/`) to `/app` into the image.
10
11
```Dockerfile
12
+# append the following in your existing dockerfile
13
+# this will create a multi-stage docker build for minimizing size and security vulnerabilities
14
+# ...
15
+
16
FROM steebchen/nginx-spa:stable
17
18
+# adapt the `dist/` folder to the output directory your build tool uses (such as `dist/`, `build/` or `www/`).
19
COPY dist/ /app
20
21
EXPOSE 80
0 commit comments