Files
sientia-dataops-opc-ingestor/Dockerfile
vitor-aignosi fa51d142e8 SIENTIAPDE-988
Enhance README and Docker setup; improve IngestorManager and DataManager functionality, add error handling, and implement unit tests for OPC initialization and subscription management.
2025-04-17 17:13:13 -03:00

16 lines
323 B
Docker

from python:3.11-slim
# Set the working directory
WORKDIR /app
# Copy the requirements file into the container
COPY requirements.txt .
# Copy code into the container
COPY ./ingestor .
# Install the required packages
RUN pip install --no-cache-dir -r requirements.txt
# Run the application
CMD ["python", "ingestor.py"]