cyrilwanner / next-optimized-images

🌅 next-optimized-images automatically optimizes images used in next.js projects (jpeg, png, svg, webp and gif).
MIT License
2.21k stars 93 forks source link

How to use this package inside Docker? #225

Open sheikalthaf opened 3 years ago

sheikalthaf commented 3 years ago

Hi,

I'm using this lib in my website but I want to host the website with docker. I don't know what are the dependecies required inside docker. Can anyone share the dockerfile code for reference.

Thanks

polarathene commented 3 years ago

What issues did you run into? Use the official nodejs image and you should be fine?

NextJS does have docs about this though with an example dockerfile with-docker.