Skip to content

Commit

Permalink
ugh
Browse files Browse the repository at this point in the history
  • Loading branch information
sshh12 committed Jan 29, 2025
1 parent 7a7ab48 commit 78387ad
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 17 deletions.
3 changes: 1 addition & 2 deletions images/AngularVanillaDockerFile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ RUN npm install -g @angular/cli && \
npm install && \
ng build

RUN tree /frontend && \
cat /frontend/package.json
RUN cat /frontend/package.json

EXPOSE 3000
5 changes: 1 addition & 4 deletions images/NextjsP5DockerFile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ RUN npx --yes [email protected] frontend --js --tailwind --no-eslint --src-
npm install --save-dev eslint eslint-config-next --force && \
npm run build

RUN tree /frontend

RUN curl -o /frontend/next.config.mjs https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/nextjs/next.config.mjs.example && \
curl -o /frontend/.eslintrc.json https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/nextjs/.eslintrc.json.example && \
curl -o /frontend/public/sketch.js https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/p5/public/sketch.js && \
Expand All @@ -33,7 +31,6 @@ RUN curl -o /frontend/next.config.mjs https://raw.githubusercontent.com/sshh12/p
curl -o /frontend/src/app/page.js https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/p5/src/app/page.js && \
rm -rf /frontend/public/*.svg

RUN tree /frontend && \
cat /frontend/package.json
RUN cat /frontend/package.json

EXPOSE 3000
5 changes: 1 addition & 4 deletions images/NextjsPixiDockerFile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ RUN npx --yes [email protected] frontend --js --tailwind --no-eslint --src-
npm install --save-dev eslint eslint-config-next --force && \
npm run build

RUN tree /frontend

RUN curl -o /frontend/next.config.mjs https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/nextjs/next.config.mjs.example && \
curl -o /frontend/.eslintrc.json https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/nextjs/.eslintrc.json.example && \
curl -o /frontend/src/app/layout.js https://raw.githubusercontent.com/sshh12/prompt-stack/refs/heads/main/images/pixi/src/app/layout.js && \
Expand All @@ -32,7 +30,6 @@ RUN curl -o /frontend/next.config.mjs https://raw.githubusercontent.com/sshh12/p
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 && \
rm -rf /frontend/public/*.svg

RUN tree /frontend && \
cat /frontend/package.json
RUN cat /frontend/package.json

EXPOSE 3000
4 changes: 1 addition & 3 deletions images/NextjsShadcnDockerFile
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,14 @@ RUN apt-get update && \

RUN node --version && npm --version

RUN npx --yes [email protected] frontend -e with-supabase --js --tailwind --no-eslint --src-dir src --app --no-turbopack --yes && \
RUN npx --yes [email protected] frontend --js --tailwind --no-eslint --src-dir src --app --no-turbopack --yes && \
cd frontend && \
npm install lucide-react axios recharts @radix-ui/react-icons tailwind-merge react-hook-form --force && \
npm install --save-dev eslint eslint-config-next --force && \
(echo "\n\n\n" | npx [email protected] init --defaults --force --yes) && \
(echo "\n\n\n" | npx [email protected] add --yes --all) && \
npm run build

RUN tree /frontend

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

Expand Down
5 changes: 1 addition & 4 deletions images/NextjsVanillaDockerFile
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,9 @@ RUN npx --yes [email protected] frontend --js --tailwind --no-eslint --src-
npm install --save-dev eslint eslint-config-next --force && \
npm run build

RUN tree /frontend

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

RUN tree /frontend && \
cat /frontend/package.json
RUN cat /frontend/package.json

EXPOSE 3000

0 comments on commit 78387ad

Please sign in to comment.