This commit is contained in:
2026-07-28 14:56:23 +08:00
parent b5738e9109
commit 2cca8fcb7d
5 changed files with 203 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM node:22-bookworm-slim
WORKDIR /app
COPY text-to-cad ./text-to-cad
RUN cd text-to-cad/viewer && npm install
RUN cd text-to-cad/apps/cad-agent-studio && npm install && npm run build
ENV NODE_ENV=production
ENV HOSTNAME=0.0.0.0
ENV PORT=3000
EXPOSE 3000
CMD ["sh", "-lc", "cd /app/text-to-cad/apps/cad-agent-studio && npm run start -- -H 0.0.0.0 -p ${PORT}"]