Skip to content

Commit 75183e0

Browse files
committed
fix: fix build env
1 parent f72282b commit 75183e0

18 files changed

Lines changed: 1931 additions & 17 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ COPY --from=server-builder /app/server-ts/package.json ./server-ts/
7575
COPY --from=deps /app/server-ts/node_modules ./server-ts/node_modules
7676

7777
# Copy static files to server
78-
COPY --from=client-builder /app/client/dist ./server-ts/build
78+
COPY --from=client-builder /app/client/dist ./server-ts/client
7979

8080
# Set correct permissions
8181
RUN chown -R nextjs:nodejs /app

client/dist/assets/index-B7AoHAJz.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/dist/assets/index-CKjfwdyP.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/dist/assets/vendor-BCNIWibw.js

Lines changed: 1829 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/dist/favicon.ico

3.78 KB
Binary file not shown.

client/dist/index.html

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="utf-8" />
6+
<link rel="icon" href="/favicon.ico" />
7+
<meta name="viewport" content="width=device-width, initial-scale=1" />
8+
<meta name="theme-color" content="#000000" />
9+
<meta name="description" content="Web site created using create-react-app" />
10+
<link rel="apple-touch-icon" href="/logo192.png" />
11+
<link rel="preconnect" href="https://fonts.gstatic.com">
12+
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap" rel="stylesheet">
13+
<!--
14+
manifest.json provides metadata used when your web app is installed on a
15+
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
16+
-->
17+
<link rel="manifest" href="/manifest.json" />
18+
<!--
19+
Notice the use of in the tags above.
20+
It will be replaced with the URL of the `public` folder during the build.
21+
Only files inside the `public` folder can be referenced from the HTML.
22+
23+
Unlike "/favicon.ico" or "favicon.ico", "/favicon.ico" will
24+
work correctly both with client-side routing and a non-root public URL.
25+
Learn how to configure a non-root public URL by running `npm run build`.
26+
-->
27+
<title>React App</title>
28+
<script type="module" crossorigin src="/assets/index-B7AoHAJz.js"></script>
29+
<link rel="modulepreload" crossorigin href="/assets/vendor-BCNIWibw.js">
30+
<link rel="stylesheet" crossorigin href="/assets/index-CKjfwdyP.css">
31+
</head>
32+
33+
<body>
34+
<noscript>You need to enable JavaScript to run this app.</noscript>
35+
<div id="root"></div>
36+
<!--
37+
This HTML file is a template.
38+
If you open it directly in the browser, you will see an empty page.
39+
40+
You can add webfonts, meta tags, or analytics to this file.
41+
The build step will place the bundled scripts into the <body> tag.
42+
43+
To begin the development, run `npm start` or `yarn start`.
44+
To create a production bundle, use `npm run build` or `yarn build`.
45+
-->
46+
</body>
47+
48+
</html>

client/dist/logo-mern.png

72.6 KB
Loading

client/dist/logo192.png

5.22 KB
Loading

client/dist/logo512.png

9.44 KB
Loading

client/dist/manifest.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"short_name": "Example CRA App",
3+
"name": "Example CRA App for beginner with tech: React JS, NodeJS, Firebase and ...etc.",
4+
"icons": [
5+
{
6+
"src": "favicon.ico",
7+
"sizes": "64x64 32x32 24x24 16x16",
8+
"type": "image/x-icon"
9+
},
10+
{
11+
"src": "logo192.png",
12+
"type": "image/png",
13+
"sizes": "192x192"
14+
},
15+
{
16+
"src": "logo512.png",
17+
"type": "image/png",
18+
"sizes": "512x512"
19+
}
20+
],
21+
"start_url": ".",
22+
"display": "standalone",
23+
"theme_color": "#000000",
24+
"background_color": "#ffffff"
25+
}

0 commit comments

Comments
 (0)