Add simulation runner

This commit is contained in:
arkml 2025-02-17 23:00:15 +05:30 committed by GitHub
parent 1edf2e0e18
commit 893f215f4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 358 additions and 0 deletions

View file

@ -0,0 +1,20 @@
# Use official Python runtime as base image
FROM python:3.11-slim
# Set working directory in container
WORKDIR /app
# Copy requirements file
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy project files
COPY . .
# Expose port if your app needs it (adjust as needed)
ENV PYTHONUNBUFFERED=1
# Command to run the simulation service
CMD ["python", "service.py"]