docker-react 1.0.2 → 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.14.1 AS node
1
+ FROM node:24.18.0 AS node
2
2
 
3
- FROM nginx:1.29.7
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/README.md CHANGED
@@ -43,7 +43,7 @@ CLI & base image to deploy React applications with docker containers.
43
43
  1. Install `docker-react` and `zod` (zod version should match the peer dependency version exactly)
44
44
 
45
45
  ```sh
46
- npm i -S docker-react zod@4.3.4
46
+ npm i -S docker-react zod@4.4.3
47
47
  ```
48
48
 
49
49
  2. Create environment variable schema (currently only Zod supported but the future others will be available)
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
@@ -31,10 +31,10 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "commander": "^14.0.2",
34
- "zod": "4.3.6"
34
+ "zod": "4.4.3"
35
35
  },
36
36
  "peerDependencies": {
37
- "zod": "4.3.6"
37
+ "zod": "4.4.3"
38
38
  },
39
- "version": "1.0.2"
39
+ "version": "1.0.4"
40
40
  }