datacenter-openenv / Dockerfile
Rohannk's picture
Update Dockerfile
5be3527 verified
Raw
History Blame Contribute Delete
297 Bytes
FROM python:3.11-slim
# Set working directory
WORKDIR /app
# Copy requirement list and install
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy all other files (including inference.py)
COPY . .
# Run the inference script directly
CMD ["python", "inference.py"]