Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# Full list of versions available here:\n' +
FROM node:0.10.38
# Open up ports on the container
EXPOSE 80 8000 8080 3000
# Add repository files to container
#Start: Packages
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y python
#Start: Main Repository
ADD ["./metalsmith-blog", "/metalsmith-blog"]
WORKDIR /metalsmith-blog
RUN npm install
RUN node index.js
WORKDIR /metalsmith-blog
# Command to start the app
CMD cd build; python -m SimpleHTTPServer 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.