Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

Latest commit

 

History

History
65 lines (44 loc) · 1.82 KB

README.md

File metadata and controls

65 lines (44 loc) · 1.82 KB

papatya - lazy man's polyglot Web application container

Quickstart

Pull the latest papatya Docker image:

docker pull vehbisinan/papatya:latest

Run the Docker image without any custom content:

docker run -d -p 8000:80 --name my-papatya vehbisinan/papatya:latest

By now, you should be able to see the plain/vanilla index page provided in the Docker image and served by Apache (No R involved):

http://localhost:8000/

Let's run the Docker image with custom content (as provided in the /examples directory on the Git repository). First, remove the container which we created above:

docker rm -f my-papatya

Now, run the Docker image by providing the examples directory as the Web content directory:

docker run -d -p 8000:80 -v $(pwd)/examples:/var/www/html --name my-papatya vehbisinan/papatya:latest

Test it:

Building the Docker Image

Clone this repository:

git clone [email protected]:vst/papatya.git

Change the directory:

cd papatya

Build a local Docker image:

docker build . -t papatya