Created
January 29, 2016 04:30
-
-
Save tahaozket/1f1603051ce57a62f81b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:argon | |
RUN mkdir -p /usr/src/app | |
WORKDIR /usr/src/app | |
RUN apt-get update | |
RUN apt-get -y install mongodb | |
CMD ["/usr/bin/mongod", "--config", "/etc/mongodb.conf"] | |
COPY package.json /usr/src/app/ | |
RUN npm install | |
COPY . /usr/src/app | |
ENV APP_ID myAppId | |
ENV MASTER_KEY mySecretMasterKey | |
ENV FILE_KEY optionalFileKey | |
EXPOSE 8080 | |
CMD [ "npm", "start" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment