Skip to content
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

Dockerize? And path? #9

Open
Jan-M opened this issue Aug 12, 2020 · 1 comment · May be fixed by #13
Open

Dockerize? And path? #9

Jan-M opened this issue Aug 12, 2020 · 1 comment · May be fixed by #13

Comments

@Jan-M
Copy link

Jan-M commented Aug 12, 2020

Hi, I have kind of two requests:

Can you provide the Dockerfile for this project or how do build it?

Does it require /api/v2 to be in the path for GET or PUT? I am wondering how to deal with this behind a an auth proxy that potentially swallows the /api/ when routing the requests to the -json backend?

@NMinhNguyen
Copy link
Owner

Sure, I can provide a Dockerfile but it should be as simple as yarn && yarn build to build and yarn start to start the Next.js server. Next uses path-based routing so api is what you'll get but I think you can use redirects and route rewriting features of Next.

@NMinhNguyen NMinhNguyen linked a pull request Oct 22, 2020 that will close this issue
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 a pull request may close this issue.

2 participants