diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3a8d0f3 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +FROM python:3.9-slim + +WORKDIR /app + +COPY . . + +RUN apt-get update && apt-get install -y \ + libx11-6 \ + libxext6 \ + libxrender1 \ + libxrandr2 \ + libxfixes3 \ + libxcursor1 \ + libxinerama1 \ + libxi6 \ + && rm -rf /var/lib/apt/lists/* \ + && pip install --no-cache-dir pygame + + +CMD ["python", "solver.py"]