Enhance README and Docker setup; improve IngestorManager and DataManager functionality, add error handling, and implement unit tests for OPC initialization and subscription management.
16 lines
323 B
Docker
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"] |