RblSb / SyncTube

Synchronized video viewing with chat and other features (one-channel web service)
MIT License
247 stars 52 forks source link

Add simple dockerfile #16

Closed llndqvst closed 3 years ago

llndqvst commented 3 years ago

This is an alternative to #11 using a mutli stage image with official haxe and node images.

Test by running docker build -t localhost/synctube . and docker run --rm -it -p 4200:4200 localhost/synctube

WIP as I'm unsure of the best course of action for the runtime container. Currently using the official node image adds ~50MB extra to the final image compared to using a plain alpine image and installing npm manually.

RblSb commented 3 years ago

I think i push simplier solution, you can check if this fine for you