Skip to content

Commit

Permalink
Add WIP Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Ace Nassri committed Jan 18, 2018
1 parent ea510db commit 70277ed
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions functions/autodeploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Extend a generic Node image
FROM gcr.io/cloud-docs-samples/base

# Install user dependencies
RUN npm install

# TODO(developer)
# Optional: add your own Docker commands here

# Run your tests
CMD npm run test

# Deploy to Cloud Functions, if your tests pass
CMD gcloud beta functions deploy [YOUR_FUNCTION_NAME] [YOUR_FUNCTION_TRIGGER]

0 comments on commit 70277ed

Please sign in to comment.