Using a Dockerfile, Saving and Image, and Using the Interactive Terminal

FROM alpine:latest
LABEL maintainer=”Russ McKendrick <russ@mckendrick.io>”
LABEL description=”This example Dockerfile installs NGINX.”
RUN apk add --update nginx && \
rm -rf /var/cache/apk/* && \
mkdir -p /tmp/nginx/
COPY files/nginx.conf /etc/nginx/nginx.conf
COPY files/default.conf /etc/nginx/conf.d/default.conf ADD

--

--

--

XR Developer at HookBang | https://github.com/sitting-duck

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Make Your Cookie Banner Look Delicious

Tutorial: Qt Creator won’t load my .PDB file

Overview of DragonMaster Breeding System

Efficiently Navigating Through Your Directories

A Product Owner in the team? What for?

Product Tip: Foundation for Emails 2

READ/DOWNLOAD$! Data Structures and Abstractions w

The basics of Scala access modifiers

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ashley Gelwix

Ashley Gelwix

XR Developer at HookBang | https://github.com/sitting-duck

More from Medium

Intro to Building Container Images with Dockerfiles

Create a simple custom image

Install Jenkins on Ubuntu

REDIS Installation on Linux Server