How do I use the latest version of Deno 1.34.1 using the nixpacks.toml (or) railway.toml
Hi β 1.34.1 landed a fix for node:http2(https://github.com/denoland/deno/issues/16923), which I need to use "unfurl.js" (an npm library that uses it).
deno upgrade
as a build
command doesn't work. Can't figure out how to tell nixpacks.toml / railway.toml to install a specific / latest version of deno.
This is all I want from the Dockerfile: FROM denoland/deno:1.34.1
dockerfile here: https://github.com/denoland/deno_docker#as-a-dockerfile
If someone could let me know how I can update the deno runtime without having to deal with a dockerfile, I'd really appreciate it.GitHub
Issues Β· denoland/deno
A modern runtime for JavaScript and TypeScript. Contribute to denoland/deno development by creating an account on GitHub.
Solution:Jump to solution
It looks like the latest version of Deno available in NixOS (https://search.nixos.org/packages?channel=22.11&show=deno&from=0&size=50&sort=relevance&type=packages&query=deno) is quite old, which we can sadly do nothing about - your best bet may be using a Dockerfile.
10 Replies
Project ID:
f5d8c623-2522-4045-9827-69e1cc2efaa3
f5d8c623-2522-4045-9827-69e1cc2efaa3
Solution
It looks like the latest version of Deno available in NixOS (https://search.nixos.org/packages?channel=22.11&show=deno&from=0&size=50&sort=relevance&type=packages&query=deno) is quite old, which we can sadly do nothing about - your best bet may be using a Dockerfile.
okay, ππ½
if you need any help with the dockerfile, we will be here!
ππ½ β it worked!!! (ChatGPT coming in handy with the assist)
oh god an ai generated dockerfile, can we see it?
Sure π
:
src contains only one file for now β
main.ts
looks fine to me
Remarkably, it seems as if ChatGPT knew what it was doing.