fix(deploy): serialize model migration and pin nginx

This commit is contained in:
stefanfeng
2026-08-25 16:59:15 +08:00
parent dc34a03357
commit e24e89d326
2 changed files with 16 additions and 11 deletions
+2 -1
View File
@@ -6,7 +6,8 @@ RUN npm install
COPY . .
RUN npm run build
FROM nginx:alpine
# Nginx 1.31 uses syscalls that are blocked by the test server's legacy kernel.
FROM nginx:1.28.3-alpine
COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80