# The `FROM` instruction sets the Base Image for subsequent instructions. FROM node
# The `MAINTAINER` instruction allows you to set the Author field of the generated images. MAINTAINER nuomi1 <[email protected]>
# The `WORKDIR` instruction sets the working directory for any `RUN`, `CMD`, `ENTRYPOINT`, `COPY` and `ADD` instructions that follow it in the Dockerfile. WORKDIR /blog
# The `RUN` instruction will execute any commands in a new layer on top of the current image and commit the results. RUN npm install hexo-cli --global
# The `CMD` instruction is to provide defaults for an executing container. CMD ["bash"]
# The `EXPOSE` instruction informs Docker that the container listens on the specified network ports at runtime. EXPOSE4000
# The `VOLUME` instruction creates a mount point with the specified name and marks it as holding externally mounted volumes from native host or other containers. VOLUME ["/blog"]