mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-26 00:46:23 +02:00
Add simulation runner
This commit is contained in:
parent
1edf2e0e18
commit
893f215f4c
8 changed files with 358 additions and 0 deletions
20
apps/simulation_runner/Dockerfile
Normal file
20
apps/simulation_runner/Dockerfile
Normal 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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue