최초 커밋

This commit is contained in:
nek924 committed 2025-10-02 16:49:32 +09:00
commit 8734a149a6
5 files changed
+1294

No files matched your search

+9
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"]