-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ace Nassri
committed
Jan 18, 2018
1 parent
ea510db
commit 70277ed
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
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
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] |