Skip to content

add Dockerfile and add docker section to README.md #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

bakudan-otaku
Copy link

Hello,
I added a quick Dockerfile for your project.
Hope that helps.

@ajnart
Copy link
Owner

ajnart commented Oct 9, 2024

Can you switch it to pnpm?
Also I'm pretty sure the build type in the nextjs options should be standalone, the resulting / page is static (you can remove the API)

@bakudan-otaku
Copy link
Author

If I go with the tutorial, I get an error for pnpm build:

 > [build 2/2] RUN pnpm run build:
0.477
0.477 > shawty@0.1.0 build /home/node/app
0.477 > next build
0.477
0.798 Attention: Next.js now collects completely anonymous telemetry regarding usage.
0.798 This information is used to shape Next.js' roadmap and prioritize features.
0.798 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
0.798 https://nextjs.org/telemetry
0.798
0.826   ▲ Next.js 14.2.15
0.826   - Environments: .env
0.826
0.855    Creating an optimized production build ...
7.180  ✓ Compiled successfully
7.180    Linting and checking validity of types ...
9.608 Failed to compile.
9.608
9.608 ./src/app/page.tsx:18:26
9.608 Type error: Cannot find module '~/components/MadeWithKodu' or its corresponding type declarations.
9.608
9.608   16 | import { useEffect, useState } from "react";
9.608   17 | import InstructionsPopup from "~/components/InstructionsPopup";
9.608 > 18 | import MadeWithKodu from "~/components/MadeWithKodu";
9.608      |                          ^
9.608   19 | import { useSubscriptionStore } from "~/lib/subscriptionStore";
9.608   20 |
9.608   21 | interface Subscription {
9.649  ELIFECYCLE  Command failed with exit code 1.

But I will try to do it without "building" it, I don't know if this is a separate issue.

@ajnart ajnart closed this Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants