Skip to content

Instantly share code, notes, and snippets.

@munjalpatel
Created June 2, 2015 22:49
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 munjalpatel/cd1e9d80b79235d55569 to your computer and use it in GitHub Desktop.
Save munjalpatel/cd1e9d80b79235d55569 to your computer and use it in GitHub Desktop.
Dockerfile
FROM google/nodejs
COPY ./src/dist /app
WORKDIR /app
COPY ./prod-certs /app/certs
RUN rm /app/certs/crt.pem
RUN npm install --production
EXPOSE 443
ENTRYPOINT ["/nodejs/bin/npm", "start"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment