insomnia-mockbin icon indicating copy to clipboard operation
insomnia-mockbin copied to clipboard

Fixed broken DOCKERFILE

Open IgnorantSapient opened this issue 4 years ago • 1 comments

Tried running docker build -t mockbin . and was presented with an error and my build failed.

Later realized that the DOCKERFILE hasn't been updated in more than half a decade and the package.json dependencies did not support node:0.10, the following error was generated:

Screen Shot 2020-10-06 at 9 34 22 PM

Then Tried the docker build with node 14 - alpine and the entire app works like a charm, an outdated DOCKERFILE might turn away potential users and contributors hence this fix!

IgnorantSapient avatar Oct 07 '20 02:10 IgnorantSapient

@nijikokun Hey, this is a simple yet crucial fix, could you please let me know your feedback?

IgnorantSapient avatar Oct 20 '20 22:10 IgnorantSapient