sameerdhoot / wolweb

Web interface for sending Wake-on-lan (magic packet). An HTTP server built using GoLang and uses Bootstrap for UI.
GNU General Public License v3.0
288 stars 74 forks source link

Add 'go mod init' to Dockerfile #1

Closed karafso closed 2 years ago

karafso commented 2 years ago

Add 'go mod init' command in order for docker build command to succeed on a fresh pull

G-Pereira commented 2 years ago

This has worked for me as well, I agree with merging this

mitch98 commented 2 years ago

Agreed, this also resolved issues for me.

tomjpeg commented 2 years ago

Your PR fixes the problem very well. @sameerdhoot could this please be included in the master?