OrbitRL / Dockerfile
ZacBl's picture
Upload Dockerfile
677e29c verified
Raw
History Blame Contribute Delete
332 Bytes
# Use an official Python runtime as a parent image
FROM python:3.9-slim
# Set the working directory in the container
WORKDIR /app
# Copy all project files into the container at /app
COPY . /app
COPY requirements.txt /opt/app/requirements.txt
RUN pip install -r requirements.txt
# Run 'python main.py'
CMD ["python", "main.py"]