docker-react 0.1.0 → 0.1.2
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 +4 -3
- package/README.md +1 -1
- package/dist/prep.js +2 -0
- package/package.json +3 -3
package/Dockerfile
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
FROM node:24.
|
|
1
|
+
FROM node:24.12.0 as node
|
|
2
2
|
|
|
3
|
-
FROM nginx
|
|
3
|
+
FROM nginx:1.29.4
|
|
4
4
|
ARG DOCKER_REACT_VERSION
|
|
5
5
|
|
|
6
6
|
# Grab and link the node binaries from the node image.
|
|
@@ -20,4 +20,5 @@ RUN npm install -g docker-react@"${DOCKER_REACT_VERSION}"
|
|
|
20
20
|
COPY ./node_modules ./node_modules
|
|
21
21
|
|
|
22
22
|
# Prepare startup script
|
|
23
|
-
COPY ./docker-react-entrypoint.sh /docker-entrypoint.d
|
|
23
|
+
COPY ./docker-react-entrypoint.sh /docker-entrypoint.d/
|
|
24
|
+
RUN chmod +x /docker-entrypoint.d/docker-react-entrypoint.sh
|
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.
|
|
46
|
+
npm i -S docker-react zod@4.3.4
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
2. Create environment variable schema (currently only Zod supported but the future others will be available)
|
package/dist/prep.js
CHANGED