From 5829762f91f6cafa832489bfdef4487c51741477 Mon Sep 17 00:00:00 2001 From: oismaelash Date: Wed, 2 Oct 2024 00:13:00 -0300 Subject: [PATCH] update: docker with expose port and localcache hGet and hSet return null --- Dockerfile | 2 ++ src/cache/localcache.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index f9fa812c..f23ebf00 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,4 +53,6 @@ COPY --from=builder /evolution/tsup.config.ts ./tsup.config.ts ENV DOCKER_ENV=true +EXPOSE 8080 + ENTRYPOINT ["/bin/bash", "-c", ". ./Docker/scripts/deploy_database.sh && npm run start:prod" ] \ No newline at end of file diff --git a/src/cache/localcache.ts b/src/cache/localcache.ts index 130d4865..1eb845aa 100644 --- a/src/cache/localcache.ts +++ b/src/cache/localcache.ts @@ -47,10 +47,12 @@ export class LocalCache implements ICache { async hGet() { console.log('hGet not implemented'); + return null } async hSet() { console.log('hSet not implemented'); + return null } async hDelete() {