Skip to content

Instantly share code, notes, and snippets.

@ldoguin
Created May 18, 2020 08:23
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 ldoguin/c0b27baca1ad7c63fb4399d7b2dfb480 to your computer and use it in GitHub Desktop.
Save ldoguin/c0b27baca1ad7c63fb4399d7b2dfb480 to your computer and use it in GitHub Desktop.
Deno variable for nodejs app
CC_PRE_BUILD_HOOK="(curl -fsSL https://deno.land/x/install/install.sh | sh) && ${DENO_INSTALL}/bin/deno install --root \"${DENO_INSTALL}\" --allow-env --allow-net http.ts && mv ~/.cache/deno ./.deno-cache"
CC_PRE_RUN_HOOK="mv ./.deno-cache ~/.cache/deno"
CC_RUN_COMMAND="PATH=${DENO_INSTALL}/bin:$PATH ${DENO_INSTALL}/bin/http"
DENO_INSTALL="/home/bas/app_952e28a8-41e0-4606-9536-0d2d0891f46f/.deno"
PORT="8080"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment