# Pull base image FROM python:3.10.12-slim-buster # Set environment variables ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1 # Set work directory to the root of your project WORKDIR /Model # Install system dependencies RUN apt-get update && apt-get install -y netcat-openbsd