Inside the code, the library simply download a json file from google storage. When I run code outside the docker container locally, it works fine and is able to download the file. The dockerfile I'm currently using is this :-
FROM node:slim# Install DenoCOPY --from=denoland/deno:latest /deno /usr/local/bin/denoEXPOSE 8000WORKDIR /appADD . /app# set DENO_DIR to avoid conflicts with google cloudENV DENO_DIR=./.deno_cacheRUN deno cache src/main.tsCMD ["deno", "serve", "-A", "src/main.ts", "--env_type=production"]
FROM node:slim# Install DenoCOPY --from=denoland/deno:latest /deno /usr/local/bin/denoEXPOSE 8000WORKDIR /appADD . /app# set DENO_DIR to avoid conflicts with google cloudENV DENO_DIR=./.deno_cacheRUN deno cache src/main.tsCMD ["deno", "serve", "-A", "src/main.ts", "--env_type=production"]
I've already tried using deno's official image
FROM denoland/deno:latest
FROM denoland/deno:latest
and install nodejs inside it, but it throws the same error.