Skip to content

Instantly share code, notes, and snippets.

@stjohnjohnson
Created October 15, 2016 16:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stjohnjohnson/08887767a4c76c035b6df865f75a9fce to your computer and use it in GitHub Desktop.
Save stjohnjohnson/08887767a4c76c035b6df865f75a9fce to your computer and use it in GitHub Desktop.
Screwdriver API Dockerfile
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