Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
FROM tatsushid/tinycore-node
# 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