Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apollo now supports chess! #265

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
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
Loading