update: create file

This commit is contained in:
tao.chen
2026-08-04 12:40:38 +08:00
parent a27cda5a0c
commit 4919fe0909
6 changed files with 226 additions and 89 deletions
+4
View File
@@ -7,6 +7,10 @@ COPY frontend/ ./
RUN pnpm typecheck && pnpm build
FROM nginx:alpine
ENV TZ=Asia/Shanghai
RUN apk add --no-cache tzdata \
&& ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \
&& echo $TZ > /etc/timezone
COPY ./default.conf /etc/nginx/conf.d/default.conf.template
COPY ./scripts/nginx-entrypoint.sh /usr/local/bin/model-platform-entrypoint.sh
RUN sed -i 's/\r$//' /usr/local/bin/model-platform-entrypoint.sh \