Skip to content

Instantly share code, notes, and snippets.

@DerEnderKeks
Created April 5, 2017 15:43
Show Gist options
  • Save DerEnderKeks/20cec9efc3325de062bb0e60f1097e22 to your computer and use it in GitHub Desktop.
Save DerEnderKeks/20cec9efc3325de062bb0e60f1097e22 to your computer and use it in GitHub Desktop.
Yanius 2.x Dockerfile
FROM node:6.7
# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Install app dependencies
COPY package.json /usr/src/app/
RUN npm install
# Bundle app source
COPY . /usr/src/app
EXPOSE 56792
CMD [ "npm", "start" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment