Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM python:3.10-slim

# Set the working directory in docker
WORKDIR /pokemon

# Install system dependencies
RUN apt-get update && apt-get install -y \
build-essential \
git && \
# Clean up apt cache to reduce image size.
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Copy source-code
COPY . .

# Install Python dependencies
RUN pip install --no-cache-dir -r baselines/requirements.txt

# Command to run at container start
CMD [ "python", "baselines/run_baseline_parallel.py" ]