Skip to content

Commit 2c47713

Browse files
committed
tweaks
1 parent f2d2aff commit 2c47713

File tree

5 files changed

+17
-16
lines changed

5 files changed

+17
-16
lines changed

images/AngularVanillaDockerFile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ RUN apt-get update && \
77
curl \
88
wget \
99
zip \
10+
tree \
1011
unzip && \
1112
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
1213
apt-get install -y --no-install-recommends nodejs && \
@@ -15,7 +16,6 @@ RUN apt-get update && \
1516

1617
RUN node --version && npm --version
1718

18-
# Create new Angular project in one command, similar to create-next-app
1919
RUN npm install -g @angular/cli && \
2020
ng new frontend \
2121
--routing=true \
@@ -28,9 +28,7 @@ RUN npm install -g @angular/cli && \
2828
npm install && \
2929
ng build
3030

31-
RUN ls -asl /frontend && \
32-
ls -asl /frontend/src && \
33-
ls -asl /frontend/src/app && \
31+
RUN tree /frontend && \
3432
cat /frontend/package.json
3533

3634
EXPOSE 3000

images/NextjsP5DockerFile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ RUN apt-get update && \
77
curl \
88
wget \
99
zip \
10+
tree \
1011
unzip && \
1112
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
1213
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
1920
cd frontend && \
2021
npm run build
2122

23+
RUN tree /frontend
24+
2225
RUN curl -o /frontend/next.config.mjs https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/nextjs/next.config.mjs.example && \
2326
curl -o /frontend/.eslintrc.json https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/nextjs/.eslintrc.json.example && \
2427
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
2932
curl -o /frontend/src/app/page.js https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/p5/src/app/page.js && \
3033
rm -rf /frontend/public/*.svg
3134

32-
RUN ls -asl /frontend && \
33-
ls -asl /frontend/public && \
34-
ls -asl /frontend/src/app && \
35+
RUN tree /frontend && \
3536
cat /frontend/package.json
3637

3738
EXPOSE 3000

images/NextjsPixiDockerFile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ RUN apt-get update && \
77
curl \
88
wget \
99
zip \
10+
tree \
1011
unzip && \
1112
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
1213
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
2021
npm install pixi.js @pixi/mesh-extras raw-loader --force && \
2122
npm run build
2223

24+
RUN tree /frontend
25+
2326
RUN curl -o /frontend/next.config.mjs https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/nextjs/next.config.mjs.example && \
2427
curl -o /frontend/.eslintrc.json https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/nextjs/.eslintrc.json.example && \
2528
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
2831
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 && \
2932
rm -rf /frontend/public/*.svg
3033

31-
RUN ls -asl /frontend && \
32-
ls -asl /frontend/public && \
33-
ls -asl /frontend/src/app && \
34+
RUN tree /frontend && \
3435
cat /frontend/package.json
3536

3637
EXPOSE 3000

images/NextjsShadcnDockerFile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ RUN apt-get update && \
77
curl \
88
wget \
99
zip \
10+
tree \
1011
unzip && \
1112
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
1213
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
2223
(echo "\n\n\n" | npx shadcn@latest add --yes --all) && \
2324
npm run build
2425

26+
RUN tree /frontend
27+
2528
RUN curl -o /frontend/next.config.mjs https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/nextjs/next.config.mjs.example && \
2629
curl -o /frontend/.eslintrc.json https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/nextjs/.eslintrc.json.example
2730

28-
RUN ls -asl /frontend && \
29-
ls -asl /frontend/public && \
30-
ls -asl /frontend/src/app && \
31+
RUN tree /frontend && \
3132
cat /frontend/package.json
3233

3334
EXPOSE 3000

images/NextjsVanillaDockerFile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ RUN npx --yes create-next-app@latest frontend --js --tailwind --src-dir src --ap
1919
cd frontend && \
2020
npm run build
2121

22+
RUN tree /frontend
23+
2224
RUN curl -o /frontend/next.config.mjs https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/nextjs/next.config.mjs.example && \
2325
curl -o /frontend/.eslintrc.json https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/nextjs/.eslintrc.json.example
2426

25-
RUN ls -asl /frontend && \
26-
ls -asl /frontend/public && \
27-
ls -asl /frontend/src/app && \
27+
RUN tree /frontend && \
2828
cat /frontend/package.json
2929

3030
EXPOSE 3000

0 commit comments

Comments
 (0)