Skip to content

docker-training/md-render

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build this as docker image build -t render:dev .

then use this as a base image, placing root content at /app/content/README.md:

Dockerfile:

FROM render:dev
ARG SOURCE
COPY $SOURCE /app/content
CMD npm start

Build: docker image build -t myimage:xxx --build-arg SOURCE=mysource .

Launch: docker container run --rm -d -p 8000:8080 myimage:xxx