Skip to content

Commit 5829762

Browse files
committed
update: docker with expose port and localcache hGet and hSet return null
1 parent 168c5f1 commit 5829762

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,6 @@ COPY --from=builder /evolution/tsup.config.ts ./tsup.config.ts
5353

5454
ENV DOCKER_ENV=true
5555

56+
EXPOSE 8080
57+
5658
ENTRYPOINT ["/bin/bash", "-c", ". ./Docker/scripts/deploy_database.sh && npm run start:prod" ]

src/cache/localcache.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@ export class LocalCache implements ICache {
4747

4848
async hGet() {
4949
console.log('hGet not implemented');
50+
return null
5051
}
5152

5253
async hSet() {
5354
console.log('hSet not implemented');
55+
return null
5456
}
5557

5658
async hDelete() {

0 commit comments

Comments
 (0)