20 lines
370 B
Docker
20 lines
370 B
Docker
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}"]
|
|
|
|
|
|
|