File tree Expand file tree Collapse file tree 5 files changed +17
-16
lines changed Expand file tree Collapse file tree 5 files changed +17
-16
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ RUN apt-get update && \
7
7
curl \
8
8
wget \
9
9
zip \
10
+ tree \
10
11
unzip && \
11
12
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
12
13
apt-get install -y --no-install-recommends nodejs && \
@@ -15,7 +16,6 @@ RUN apt-get update && \
15
16
16
17
RUN node --version && npm --version
17
18
18
- # Create new Angular project in one command, similar to create-next-app
19
19
RUN npm install -g @angular/cli && \
20
20
ng new frontend \
21
21
--routing=true \
@@ -28,9 +28,7 @@ RUN npm install -g @angular/cli && \
28
28
npm install && \
29
29
ng build
30
30
31
- RUN ls -asl /frontend && \
32
- ls -asl /frontend/src && \
33
- ls -asl /frontend/src/app && \
31
+ RUN tree /frontend && \
34
32
cat /frontend/package.json
35
33
36
34
EXPOSE 3000
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ RUN apt-get update && \
7
7
curl \
8
8
wget \
9
9
zip \
10
+ tree \
10
11
unzip && \
11
12
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
12
13
apt-get install -y --no-install-recommends nodejs && \
@@ -19,6 +20,8 @@ RUN npx --yes create-next-app@latest frontend --js --tailwind -src-dir src --app
19
20
cd frontend && \
20
21
npm run build
21
22
23
+ RUN tree /frontend
24
+
22
25
RUN curl -o /frontend/next.config.mjs https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/nextjs/next.config.mjs.example && \
23
26
curl -o /frontend/.eslintrc.json https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/nextjs/.eslintrc.json.example && \
24
27
curl -o /frontend/public/sketch.js https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/p5/public/sketch.js && \
@@ -29,9 +32,7 @@ RUN curl -o /frontend/next.config.mjs https://raw.githubusercontent.com/sshh12/p
29
32
curl -o /frontend/src/app/page.js https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/p5/src/app/page.js && \
30
33
rm -rf /frontend/public/*.svg
31
34
32
- RUN ls -asl /frontend && \
33
- ls -asl /frontend/public && \
34
- ls -asl /frontend/src/app && \
35
+ RUN tree /frontend && \
35
36
cat /frontend/package.json
36
37
37
38
EXPOSE 3000
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ RUN apt-get update && \
7
7
curl \
8
8
wget \
9
9
zip \
10
+ tree \
10
11
unzip && \
11
12
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
12
13
apt-get install -y --no-install-recommends nodejs && \
@@ -20,6 +21,8 @@ RUN npx --yes create-next-app@latest frontend --js --tailwind --src-dir src --ap
20
21
npm install pixi.js @pixi/mesh-extras raw-loader --force && \
21
22
npm run build
22
23
24
+ RUN tree /frontend
25
+
23
26
RUN curl -o /frontend/next.config.mjs https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/nextjs/next.config.mjs.example && \
24
27
curl -o /frontend/.eslintrc.json https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/nextjs/.eslintrc.json.example && \
25
28
curl -o /frontend/src/app/layout.js https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/pixi/src/app/layout.js && \
@@ -28,9 +31,7 @@ RUN curl -o /frontend/next.config.mjs https://raw.githubusercontent.com/sshh12/p
28
31
curl -o /frontend/src/app/pixi/app.js https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/pixi/src/app/pixi/app.js && \
29
32
rm -rf /frontend/public/*.svg
30
33
31
- RUN ls -asl /frontend && \
32
- ls -asl /frontend/public && \
33
- ls -asl /frontend/src/app && \
34
+ RUN tree /frontend && \
34
35
cat /frontend/package.json
35
36
36
37
EXPOSE 3000
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ RUN apt-get update && \
7
7
curl \
8
8
wget \
9
9
zip \
10
+ tree \
10
11
unzip && \
11
12
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
12
13
apt-get install -y --no-install-recommends nodejs && \
@@ -22,12 +23,12 @@ RUN npx --yes create-next-app@latest frontend --js --tailwind --src-dir src --ap
22
23
(echo "\n\n\n" | npx shadcn@latest add --yes --all) && \
23
24
npm run build
24
25
26
+ RUN tree /frontend
27
+
25
28
RUN curl -o /frontend/next.config.mjs https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/nextjs/next.config.mjs.example && \
26
29
curl -o /frontend/.eslintrc.json https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/nextjs/.eslintrc.json.example
27
30
28
- RUN ls -asl /frontend && \
29
- ls -asl /frontend/public && \
30
- ls -asl /frontend/src/app && \
31
+ RUN tree /frontend && \
31
32
cat /frontend/package.json
32
33
33
34
EXPOSE 3000
Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ RUN npx --yes create-next-app@latest frontend --js --tailwind --src-dir src --ap
19
19
cd frontend && \
20
20
npm run build
21
21
22
+ RUN tree /frontend
23
+
22
24
RUN curl -o /frontend/next.config.mjs https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/nextjs/next.config.mjs.example && \
23
25
curl -o /frontend/.eslintrc.json https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/nextjs/.eslintrc.json.example
24
26
25
- RUN ls -asl /frontend && \
26
- ls -asl /frontend/public && \
27
- ls -asl /frontend/src/app && \
27
+ RUN tree /frontend && \
28
28
cat /frontend/package.json
29
29
30
30
EXPOSE 3000
You can’t perform that action at this time.
0 commit comments