Last active
April 20, 2024 17:15
-
-
Save jeffa/242453a0a91c0a279d120119991ce57f to your computer and use it in GitHub Desktop.
Provision Ubuntu with Docker and web app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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