diff --git a/Dockerfile b/Dockerfile index 8e00d3b..833cf32 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ COPY --from=builder /app ./ # Timezone setting ## install tzdata package for timezone setting -# RUN apk add tzdata && ln -snf /usr/share/zoneinfo/Asia/Seoul /etc/localtime +RUN apk add tzdata && ln -snf /usr/share/zoneinfo/Asia/Seoul /etc/localtime EXPOSE 4000 CMD npm run start:prod \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 9470968..a21e5f0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,6 +15,8 @@ services: - .env.prod environment: POSTGRES_HOST_AUTH_METHOD: 'trust' + TZ: 'Asia/Seoul' # Timezone for OS + PGTZ: 'Asia/Seoul' # Timezone for postgres ports: - 5432:5432 networks: diff --git a/src/users/users.service.ts b/src/users/users.service.ts index 3aaa270..8d41130 100644 --- a/src/users/users.service.ts +++ b/src/users/users.service.ts @@ -109,6 +109,8 @@ export class UsersService { ); } + console.log(contents); + return { contents, };