Skip to content

Instantly share code, notes, and snippets.

@imamdigmi
Forked from anak10thn/Dockerfile.nodejs
Created November 2, 2016 07:00
Show Gist options
  • Select an option

  • Save imamdigmi/f6167f80438f905d4d1ba6c025fad423 to your computer and use it in GitHub Desktop.

Select an option

Save imamdigmi/f6167f80438f905d4d1ba6c025fad423 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