Skip to content

Commit a3b1b4b

Browse files
committed
chore: enhance timezone handling
1 parent d028971 commit a3b1b4b

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.changeset/ripe-jars-punch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@quassel/backend": patch
3+
---
4+
5+
Enhance time zone handling

apps/backend/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ RUN apt-get update && \
88
apt-get install -y postgresql-client-17
99
RUN apt-get update && \
1010
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC \
11-
apt-get install -y --no-install-recommends tzdata && \
12-
ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime && \
13-
echo "Etc/UTC" > /etc/timezone
11+
apt-get install -y --no-install-recommends tzdata
1412
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
13+
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime && \
14+
echo "Etc/UTC" > /etc/timezone
1515
ENV TZ=Etc/UTC
1616
ENV NODE_ENV=production
1717
ENV PORT=3000

0 commit comments

Comments
 (0)