Severian commited on
Commit
9130493
1 Parent(s): 51364f2

feat: optimize Dockerfile for HuggingFace Spaces deployment

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -15,8 +15,9 @@ ENV NODE_OPTIONS="--max_old_space_size=2048" \
15
  RUN apt-get update && \
16
  apt-get install -y --no-install-recommends \
17
  tzdata git curl && \
18
- ln -s /usr/share/zoneinfo/UTC /etc/localtime && \
19
- echo UTC > /etc/timezone
 
20
 
21
  # ============================================
22
  # Web builder stage - optimized
 
15
  RUN apt-get update && \
16
  apt-get install -y --no-install-recommends \
17
  tzdata git curl && \
18
+ rm -f /etc/localtime && \
19
+ ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
20
+ echo $TZ > /etc/timezone
21
 
22
  # ============================================
23
  # Web builder stage - optimized