Skip to content

Commit

Permalink
feat: add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
a-dubaj committed Jun 27, 2024
1 parent df6d318 commit 3b6a18f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit 3b6a18f

Please sign in to comment.