Dockerfile for a Go project with mod replace directive

In this video post, I explain how to create a Dockerfile for a Go project where we have another local dependency with the Go mod replace directive.

This topic is a two-step video tutorial, where the first one is the explanation of the Go mod replace directive and the second tutorial is an example of Dockerfile implementation for echo and iris web frameworks.

Video 1: Using Go mod replace directive for local builds

Video 2: Dockerfile for a Go project with go mod replace directive

Used References