CodeX

Everything connected with Tech & Code. Follow to join our 1M+ monthly readers

Follow publication

Member-only story

CODEX

Learning Go Lang Days 19 to 20 — Creating a docker image of a web application written in Go Lang #100daysofcode

Jonathan Fielding
CodeX
Published in
4 min readJan 24, 2021
Photo by Dominik Lückmann on Unsplash

So in my last post I focused on how we can build a caching reverse proxy in Go Lang to allow us to cache the response of a slow server. The idea was that I could use this to speed up a website which rendered quite slowly on its server.

Today we are going to build this as a docker container image so that we can deploy it to a production system with relative ease.

Installing Docker

To follow along with this blog post you will need to have downloaded Docker Desktop.

Further details on installation, in case you get stuck can be found at: https://docs.docker.com/desktop/

Creating the Docker Image

Having got Docker setup on our system, we can now look at building our docker image.

For this article, as a continuation from my previous #100DaysOfCode article, I will be deploying the reverse proxy I wrote in…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

CodeX
CodeX

Published in CodeX

Everything connected with Tech & Code. Follow to join our 1M+ monthly readers

Jonathan Fielding
Jonathan Fielding

Written by Jonathan Fielding

Staff Engineer working for @Spendesk, speaker about web things, writing about tech, contributor to open source. If you like what I write make sure to follow.

No responses yet

Write a response