-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
dockerfile support #93
Comments
Just managed to successfully host it on Docker 😁 steps:
docker build -t test-website --build-arg DIRECTUS_URL='http://host.docker.internal:8055' --build-arg DIRECTUS_SERVER_TOKEN='...' --build-arg SITE_URL='http://localhost:3000' --build-arg NODE_OPTIONS="--max-old-space-size=4096" .
docker run --name test-website --network directus_default -p 3000:3000 -e "DIRECTUS_URL=http://localhost:8055" -e "DIRECTUS_SERVER_TOKEN=..." -e "SITE_URL=https://your_domain" --rm test-website PS: in production, the DIRECTUS_URL & SITE_URL can't be |
Thanks for the info and glad you got it working! As I do not see any issue outlined here I am going to close this for now, happy to re-open if needed. |
Hi guys,
Sorry for bothering.
This repo is 🚀
I would also love to host it on docker. I tried creating a docker file, but I can't make the build part work.
I always get this error
Error: Cannot find module '/app/node_modules/nuxt/bin/nuxt.mjs'
Any idea?
The text was updated successfully, but these errors were encountered: