Skip to content

Commit

Permalink
Merge pull request #265 from UWCS/chess
Browse files Browse the repository at this point in the history
Apollo now supports chess! Mwahahahaa
  • Loading branch information
aaj2005 authored Dec 17, 2024
2 parents 25c30e2 + 1aa5df1 commit ef27848
Show file tree
Hide file tree
Showing 6 changed files with 1,807 additions and 1,037 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM python:3.10 AS builder


RUN pip install --user pipenv

# Tell pipenv to create venv in the current directory
Expand All @@ -21,6 +22,7 @@ RUN echo $(date -Is) >> .version

FROM python:3.10-slim AS runtime


WORKDIR /app

# copy venv into runtime
Expand All @@ -40,4 +42,7 @@ COPY . /app
# build default alembic config into container, we rarely want to change this
RUN /bin/bash -c 'if [[ ! -f alembic.ini ]]; then mv alembic.example.ini alembic.ini; fi'

RUN apt-get update
RUN apt-get install -y python3-cairo

CMD [ "python", "apollo.py" ]
2 changes: 2 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ psycopg = {extras = ["binary"], version = "~=3.1"}
pytimeparse = "*"
markovify = "*"
deep-translator = "*"
chess = "*"
cairosvg = "*"

[dev-packages]
pytest = "~=6.2"
Expand Down
Loading

0 comments on commit ef27848

Please sign in to comment.