trying to run wasp.sh server on docker
Hey guys, so I tried dockerising wasp-sh after I saw it on your recent reddit post.
Sorry I am a noob at React and Axios, any pointers to where I messed up? Need additional ports, or is it CORS? Any logs I can hunt around in? Cheers.
- I created a docker container - docker run ubuntu - and installed dependencies incl. node, npm
- installed wasp.sh using script, modified .bashrc with paths, create test app inside a folder in /MyApp
- ran docker commit to save as an image
- run my wasp.sh container
docker run -dit -p 3000:3000 -v /services/wasp-sh/MyApp:/MyApp --name wasp-sh wasp-image /bin/bash
It works, inside the container I now run (wasp create test) and (wasp start) and I can access my app in browser.
Sorry I am a noob at React and Axios, any pointers to where I messed up? Need additional ports, or is it CORS? Any logs I can hunt around in? Cheers.