Skip to content

Instantly share code, notes, and snippets.

@anak10thn
Last active November 2, 2016 07:00
Show Gist options
  • Save anak10thn/b620d7cbe16755aa95ac30411fda3f64 to your computer and use it in GitHub Desktop.
Save anak10thn/b620d7cbe16755aa95ac30411fda3f64 to your computer and use it in GitHub Desktop.
FROM anak10thn/tinycore-nodejs
# set environment
ENV APP=/opt/maoo
# Create app directory
RUN mkdir -p $APP
WORKDIR $APP
# Install app dependencies
COPY package.json $APP
RUN npm install
# Bundle app source
COPY . $APP
EXPOSE 3000
CMD [ "npm", "start" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment