Skip to content

A dockerfile that builds an image to run web2py as a docker container

Notifications You must be signed in to change notification settings

pjryan126/w2p_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Web2py Dockerfile

Run web2py as a Docker container.

Summary

This is a Dockerfile that builds an image based on ubuntu for running web2py as a Docker container. The file is inspired by O.S. Tezer's tutorial on containerizing Python web apps on the DigitalOcean community site.

How it works

  1. Install and run Docker.

  2. Once you are up and running with Docker, copy the Dockerfile to the root directory of your project and run Docker build:

sudo docker build -t [image name] .

  1. Run a container based on your newly created image

sudo docker run --name [container name] -p [host port]:[docker port] -i -t [image name]

About

A dockerfile that builds an image to run web2py as a docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published