Skip to content

Instantly share code, notes, and snippets.

@jeffa
Last active April 20, 2024 17:15
Show Gist options
  • Save jeffa/242453a0a91c0a279d120119991ce57f to your computer and use it in GitHub Desktop.
Save jeffa/242453a0a91c0a279d120119991ce57f to your computer and use it in GitHub Desktop.
Provision Ubuntu with Docker and web app
wget https://github.com/jeffa/Sandbox-Spreadsheet/archive/refs/heads/master.zip
wget https://gist.githubusercontent.com/jeffa/78148e4197186b562e2985d620548ea1/raw/a001493ee921b14c23da8986ba075d7621b6e643/Dockerfile
unzip master.zip
mv Dockerfile Sandbox-Spreadsheet-master/
cd Sandbox-Spreadsheet-master/
docker pull perl:5.38
docker tag perl:5.38 myorg/perl:5.38
docker build -t myorg/myapp:dev .
docker run -d -p 80:3000 --name sandbox myorg/myapp:dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment