Skip to content

Commit cf9709f

Browse files
committed
chore: Update Dockerfile to rename project directory and fix permissions
1 parent 6205f30 commit cf9709f

File tree

2 files changed

+96
-1
lines changed

2 files changed

+96
-1
lines changed

Framework/next.js/14.2.5/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ USER sealos
1111
RUN cd /home/sealos/project && \
1212
npm config set fetch-retry-maxtimeout 2000000 && \
1313
pnpm install
14-
14+
1515
RUN mkdir /home/sealos/.sealos
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
import Image from "next/image";
2+
import styles from "./page.module.css";
3+
4+
export default function Home() {
5+
return (
6+
<main className={styles.main}>
7+
<div className={styles.description}>
8+
<p>
9+
Get started by editing&nbsp;
10+
<code className={styles.code}>src/app/page.tsx</code>
11+
</p>
12+
<div>
13+
<a
14+
href="https://vercel.com?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
15+
target="_blank"
16+
rel="noopener noreferrer"
17+
>
18+
By{" "}
19+
<Image
20+
src="/vercel.svg"
21+
alt="Vercel Logo"
22+
className={styles.vercelLogo}
23+
width={100}
24+
height={24}
25+
priority
26+
/>
27+
</a>
28+
</div>
29+
</div>
30+
31+
<div className={styles.center}>
32+
<Image
33+
className={styles.logo}
34+
src="/next.svg"
35+
alt="Next.js Logo"
36+
width={180}
37+
height={37}
38+
priority
39+
/>
40+
</div>
41+
42+
<div className={styles.grid}>
43+
<a
44+
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
45+
className={styles.card}
46+
target="_blank"
47+
rel="noopener noreferrer"
48+
>
49+
<h2>
50+
Docs <span>-&gt;</span>
51+
</h2>
52+
<p>Find in-depth information about Next.js features and API.</p>
53+
</a>
54+
55+
<a
56+
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
57+
className={styles.card}
58+
target="_blank"
59+
rel="noopener noreferrer"
60+
>
61+
<h2>
62+
Learn <span>-&gt;</span>
63+
</h2>
64+
<p>Learn about Next.js in an interactive course with&nbsp;quizzes!</p>
65+
</a>
66+
67+
<a
68+
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
69+
className={styles.card}
70+
target="_blank"
71+
rel="noopener noreferrer"
72+
>
73+
<h2>
74+
Templates <span>-&gt;</span>
75+
</h2>
76+
<p>Explore starter templates for Next.js.</p>
77+
</a>
78+
79+
<a
80+
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
81+
className={styles.card}
82+
target="_blank"
83+
rel="noopener noreferrer"
84+
>
85+
<h2>
86+
Deploy <span>-&gt;</span>
87+
</h2>
88+
<p>
89+
Instantly deploy your Next.js site to a shareable URL with Vercel.
90+
</p>
91+
</a>
92+
</div>
93+
</main>
94+
);
95+
}

0 commit comments

Comments
 (0)