# Use an official Python runtime as a parent image FROM python:3.11-slim # Set working directory inside container WORKDIR /app # Copy the Python script into the container COPY backend/tcp_sia_server.py /app/ COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Expose the port your server listens on EXPOSE 9000 # Run the script CMD ["python", "backend/tcp_sia_server.py"]