docker-react 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Dockerfile CHANGED
@@ -1,6 +1,6 @@
1
- FROM node:24.15.0 AS node
1
+ FROM node:24.18.0 AS node
2
2
 
3
- FROM nginx:1.31.1
3
+ FROM nginx:1.31.2
4
4
  ARG DOCKER_REACT_VERSION
5
5
 
6
6
  # Grab and link the node binaries from the node image.
package/nginx.conf CHANGED
@@ -5,6 +5,10 @@ server {
5
5
  root /usr/share/nginx/html;
6
6
  index index.html;
7
7
 
8
+ location = /window.env.js {
9
+ add_header Cache-Control "no-store, no-cache, must-revalidate";
10
+ }
11
+
8
12
  location / {
9
13
  # First attempt to serve request as file, then
10
14
  # as directory, then fall back to redirecting to index.html
package/package.json CHANGED
@@ -36,5 +36,5 @@
36
36
  "peerDependencies": {
37
37
  "zod": "4.4.3"
38
38
  },
39
- "version": "1.0.3"
39
+ "version": "1.0.4"
40
40
  }