feat: optimize Dockerfile for HuggingFace Spaces deployment
Browse files- 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 |
-
|
19 |
-
|
|
|
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
|