diff --git a/Dockerfile b/Dockerfile index 95710a2..8c91ced 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM denoland/deno:2.1.4 +FROM denoland/deno:alpine-2.1.4 ARG GIT_REVISION ENV DENO_DEPLOYMENT_ID=${GIT_REVISION} @@ -7,7 +7,8 @@ WORKDIR /app COPY . . -RUN deno install --allow-scripts &&\ +RUN apk install curl &&\ + deno install --allow-scripts &&\ sed -i -e 's/"deno"/"no-deno"/' node_modules/@libsql/client/package.json &&\ mkdir -p $DATA_DIR &&\ deno task build diff --git a/lib/cache.ts b/lib/cache.ts index 34fb677..4394b98 100644 --- a/lib/cache.ts +++ b/lib/cache.ts @@ -26,7 +26,6 @@ export function createCache( }, set(key: string, value: T | unknown, opts: SetCacheOptions = {}) { - console.log("Setting cache", key); const now = Date.now(); const expiresIn = opts.expires ?? createOpts.expires; const expiresAt = expiresIn ? now + expiresIn : undefined;