seasick/openscad-web-gui

Docker support

slfhstr opened this issue · 1 comments

I'd like to deploy this using Docker image or docker-compose.
Building the Docker image file and using docker run ... results in immediate container exit.
Logs show only Starting Web GUI ...

Does anyone have a Dockerfile or a docker-compose.yaml ?

I'm unclear what port needs exposing.
3000 for a node app ?
8000 ? 8888 ?

Is there a healthcheck path ?

@slfhstr what did your Dockerfile look like?

npm run serve will run the app on port 8000.

But the whole project is thought to be build statically and then just served from any given web browser.
Take a look at .github/workflows/main.yml to see how it is build for github.io.