You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Efficiently serve static files using Node.js and Docker containers: https://itnext.io/restana-static-serving-the-frontend-with-node-js-beyond-nginx-e45fdb2e49cb
@@ -9,73 +9,5 @@ RUN rm dist/index.html
9
9
RUN echo "Hello World!" >> dist/index.html
10
10
```
11
11
12
-
## Configuration options
13
-
restana-static image configuration is manage using the module: https://www.npmjs.com/package/config, so developers can manage multiple envirments if desired.
14
-
15
-
The `/restana-static/config` directory should be populated/overwritten during image creation.
Efficiently serve static files using Node.js and Docker containers: https://itnext.io/restana-static-serving-the-frontend-with-node-js-beyond-nginx-e45fdb2e49cb
5
+
6
+
```Dockerfile
7
+
FROM kyberneees/restana-static:latest
8
+
RUN rm dist/index.html
9
+
RUN echo "Hello World!" >> dist/index.html
10
+
```
11
+
12
+
# Configuration options
13
+
restana-static image configuration is manage using the module: https://www.npmjs.com/package/config, so developers can manage multiple envirments if desired.
14
+
15
+
The `/restana-static/config` directory should be populated/overwritten during image creation.
0 commit comments