build for Pelican static website generator and host it by apache.
931
Create a container:
sudo docker run -d -p 80:80 --name pelican_dev rgly/pelican_apache
Options - Mount your ssh key to docker:
-v $HOME/.ssh/id_rsa:/root/.ssh/id_rsa:ro
Start an existing container:
sudo docker start pelican_dev
Login to an existing container:
sudo docker exec -it pelican_dev /bin/bash
/usr/local/apache2/htdocs/
http://localhost
FROM httpd
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
make patch vim openssh-client git python python-pip \
&& rm -r /var/lib/apt/lists/* \
&& apt-get clean
RUN python -m pip install pelican Markdown typogrify && rm -rf /root/.cache
EXPOSE 80
CMD ["httpd-foreground"]
Content type
Image
Digest
Size
114.4 MB
Last updated
about 8 years ago
docker pull rgly/pelican_apache