News for hackers. Stuff that matters.
Re:DigitalOcean’s quarterly report on developer trends in th... by mawburn on Monday July 09, 2018 @11:11AM (#17490778)
Do you think a lot of people are running JS in a container for frontend? I wouldn't consider a webserver container a "JS container", even it were mostly serving a React/Vue/Angular app.

By the way it's worded, it sounds like the question is specifically talking about NodeJS.

Re:DigitalOcean’s quarterly report on developer trends in th... by java_script on Monday July 09, 2018 @12:11PM (#17491284)
> Do you think a lot of people are running JS in a container for frontend?

Hold my beer. --Frontend developers

Re:DigitalOcean’s quarterly report on developer trends in th... by albemuth on Monday July 09, 2018 @03:31PM (#17492788)
If the rest of a web app is running on containers, what's the downside to having the test/build process for the frontend in a container as well?
Re:DigitalOcean’s quarterly report on developer trends in th... by steve_adams_86 on Monday July 09, 2018 @06:32PM (#17493937)
I like using containers as a reliable build context. I think it makes tons of sense.

Once the container's done building, throw it out, take what it built, and serve it.

I'd personally do this separately from the rest of the web app if possible, though. I keep frontends in their own repository.

Re:DigitalOcean’s quarterly report on developer trends in th... by felixmc on Monday July 09, 2018 @02:17PM (#17492229)
actually! at my old job there was a project where the frontend webpack build was running in a docker container..
Re:DigitalOcean’s quarterly report on developer trends in th... by mawburn on Monday July 09, 2018 @05:25PM (#17493549)
Yeah, I guess when you think about it that way it makes sense. I think I might have assumed this was for production and not build environments.