Add uziom generation script and update wet input documents

- Created a new Python script `uziom.py` for generating DXF drawings of grounding systems based on user input parameters.
- Added detailed documentation in `wet_input_15.docx` and `wet_input_3.docx` for the design of grounding systems, including calculations for resistance and resistivity measurements.
- Included placeholders for dynamic data insertion in the documents to facilitate project-specific customization.
This commit is contained in:
2025-07-01 11:14:49 +02:00
parent e0d822adc8
commit 5c11a289df
21 changed files with 4557 additions and 6504 deletions

21
Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
# Build stage
FROM node:16 AS builder
WORKDIR /panel
COPY . .
RUN npm install && npm run build
# Final stage: Node.js + Python + ezdxf
FROM node:16
# Install Python and pip
RUN apt-get update && apt-get install -y python3 python3-pip && \
pip3 install --no-cache-dir ezdxf && \
apt-get clean && rm -rf /var/lib/apt/lists/*
# Copy Node app
WORKDIR /panel
COPY --from=builder /panel ./
RUN npm install --omit=dev
EXPOSE 3000
CMD ["npm", "run", "start"]