Skip to content

Commit

Permalink
Fix issues with timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallku committed Mar 8, 2024
1 parent 5b6b833 commit 2d45952
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions apps/blog/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:20-alpine AS base

RUN apk add --no-cache libc6-compat
RUN apk update
RUN apk add --no-cache libc6-compat \
&& apk update

ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
Expand All @@ -22,6 +22,9 @@ RUN turbo prune --scope=@marshallku/blog --docker
# Add lockfile and package.json's of isolated subworkspace
FROM base AS installer

ENV TZ=Asia/Seoul
RUN echo "Asia/Seoul" > /etc/timezone

# First install the dependencies (as they change less often)
COPY .gitignore .gitignore
COPY --from=builder /app/out/json/ .
Expand Down

0 comments on commit 2d45952

Please sign in to comment.