Skip to content

Instantly share code, notes, and snippets.

@managedkaos
Created January 29, 2022 19:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save managedkaos/24d4979c903b5a1adfe0b49a21962377 to your computer and use it in GitHub Desktop.
Save managedkaos/24d4979c903b5a1adfe0b49a21962377 to your computer and use it in GitHub Desktop.
A pretty basic Dockerfile for NGINX. It uses nginx as the base; does apt-get update and upgrade; and then installs vim.
FROM nginx
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment