최초 커밋

This commit is contained in:
2025-10-02 16:49:32 +09:00
commit 8734a149a6
5 changed files with 1294 additions and 0 deletions

9
socket/Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY modbus.py .
ENV TCP_PORT=8181 MODE=stream LOG_MODE=both
ENV CTRL_HOST=0.0.0.0 CTRL_PORT=8182
EXPOSE 8181 8182
CMD ["python","modbus.py"]