Last active
July 23, 2024 11:43
-
-
Save itsanishjain/716964901a9ea8a4c6dbea67aadde00b to your computer and use it in GitHub Desktop.
expressjs zerops settings
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
zerops: | |
- setup: mymeetingavailability | |
# ==== how to build your application ==== | |
build: | |
# what technologies should the build | |
# container be based on (can be an array) | |
base: nodejs@20 | |
# what commands to use to build your app | |
buildCommands: | |
- npm i | |
# select which files / folders to deploy | |
# after the build succesfully finished | |
deployFiles: | |
- ./ | |
- ./package.json | |
- ./node_modules | |
# *optional*: which files / folders | |
# to cache for the next build run | |
cache: | |
- node_modules | |
- package-lock.json | |
# ==== how to run your application ==== | |
run: | |
# what technology should the runtime | |
# container be based on, can be extended | |
# in `run.prepareCommands` using | |
# `zsc install nodejs@20` | |
base: nodejs@20 | |
os: ubuntu | |
envVariables: | |
PORT: "8081" | |
# what ports your app listens on | |
# and whether it supports http traffic | |
ports: | |
- port: 8081 | |
httpSupport: true | |
# how to start your application | |
start: npm start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment