Created
October 15, 2016 16:21
-
-
Save stjohnjohnson/08887767a4c76c035b6df865f75a9fce to your computer and use it in GitHub Desktop.
Screwdriver API Dockerfile
This file contains hidden or 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:6 | |
# Create our application directory | |
RUN mkdir -p /usr/src/app | |
WORKDIR /usr/src/app | |
# Install Screwdriver API | |
COPY package.json /usr/src/app/ | |
RUN npm install --production | |
# Copy everything else | |
COPY . /usr/src/app | |
# Expose the web service port | |
EXPOSE 8080 | |
# Run the service | |
CMD [ "npm", "start" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment