~johanvandegriff/games.jjv.sh

e8e1be479cf0f242f19f695457fd5fbbbd539802 — Johan 11 months ago 9ff49fb
upgrade to python 3.10
2 files changed, 108 insertions(+), 20 deletions(-)

M Dockerfile
M requirements.txt
M Dockerfile => Dockerfile +3 -3
@@ 1,10 1,10 @@
FROM python:3.8
FROM python:3.10
COPY .  /app
WORKDIR /app
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y libcgi-session-perl libhunspell-dev default-jre && rm -rf /var/lib/apt/lists/*
RUN pip install -r requirements.txt
RUN python -m spacy download en
RUN pip install --no-deps -r requirements.txt
#RUN python -m spacy download en
EXPOSE 5000
# CMD ["python", "games.py"]
CMD ["gunicorn", "games:app", "--bind", "0.0.0.0:5000"]

M requirements.txt => requirements.txt +105 -17
@@ 1,22 1,110 @@
Flask==1.1.2
Jinja2==2.11.3
MarkupSafe==1.1.1
Werkzeug==1.0.1
gunicorn==20.0.4
itsdangerous==1.1.0
blinker==1.7.0
click==8.1.7
Flask==3.0.0
itsdangerous==2.1.2
Werkzeug==3.0.1
dnspython==2.4.2
Pillow==10.1.0
pymongo==4.6.1
gunicorn==21.2.0
packaging==23.2

#Jinja2==2.11.3
#MarkupSafe==1.1.1
#Werkzeug==1.0.1
#gunicorn==20.0.4
#itsdangerous==1.1.0
#wsgiref==0.1.2
#flask-wtf==0.14.2
profanity-filter==1.3.3
git+https://github.com/rominf/hunspell_serializable.git
git+https://github.com/kmike/pymorphy2.git
spacy==2.3.5
pymongo==3.11.2
Pillow==9.4.0
#profanity-filter==1.3.3
#profanity-filter2==1.4.3
#git+https://github.com/rominf/hunspell_serializable.git
#git+https://github.com/kmike/pymorphy2.git
#spacy==2.3.5
#pymongo==3.11.2
#Pillow==9.4.0

opencv-python==4.5.1.48
scipy==1.6.0
numpy~=1.19.2
opencv-python==4.8.1.78
scipy==1.11.4
#numpy~=1.19.2
#tensorflow==2.4.1
#https://git.sr.ht/~johanvandegriff/tensorflow-custom-build/blob/master/tensorflow-2.4.1-cp36-cp36m-linux_x86_64.whl
https://git.sr.ht/~johanvandegriff/tensorflow-custom-build/blob/master/tensorflow-2.4.1-cp38-cp38-linux_x86_64.whl
#tensorflow==2.6.0
#https://git.sr.ht/~johanvandegriff/tensorflow-custom-build/blob/master/tensorflow-2.4.1-cp38-cp38-linux_x86_64.whl
#tensorflow==2.13.1

absl-py==2.0.0
astunparse==1.6.3
cachetools==5.3.2
flatbuffers==23.5.26
gast==0.5.4
google-auth==2.25.2
google-auth-oauthlib==1.2.0
google-pasta==0.2.0
grpcio==1.60.0
h5py==3.10.0
keras==2.15.0
libclang==16.0.6
Markdown==3.5.1
ml-dtypes==0.2.0
oauthlib==3.2.2
opt-einsum==3.3.0
protobuf==4.23.4
pyasn1==0.5.1
pyasn1-modules==0.3.0
requests==2.31.0
requests-oauthlib==1.3.1
rsa==4.9
six==1.16.0
tensorboard==2.15.1
tensorboard-data-server==0.7.2
tensorflow==2.15.0
tensorflow-cpu-aws==2.15.0
tensorflow-estimator==2.15.0
tensorflow-io-gcs-filesystem==0.34.0
termcolor==2.4.0
wrapt==1.14.1

annotated-types==0.6.0
async-timeout==4.0.3
blis==0.7.11
cached-property==1.5.2
catalogue==2.0.10
certifi==2023.11.17
charset-normalizer==3.3.2
click==8.1.7
cloudpathlib==0.16.0
confection==0.1.4
cymem==2.0.8
en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1/en_core_web_sm-3.7.1-py3-none-any.whl
idna==3.6
Jinja2==3.1.2
langcodes==3.3.0
MarkupSafe==2.1.3
more-itertools==10.1.0
murmurhash==1.0.10
numpy==1.26.2
ordered-set==4.1.0
ordered-set-stubs==66.0.2
packaging==23.2
poetry-version==0.2.0
preshed==3.0.9
profanity-filter2==1.4.3
pydantic==2.5.2
pydantic_core==2.14.5
redis==5.0.1
requests==2.31.0
ruamel.yaml==0.18.5
ruamel.yaml.clib==0.2.8
smart-open==6.4.0
spacy==3.7.2
spacy-legacy==3.0.12
spacy-loggers==1.0.5
srsly==2.4.8
thinc==8.2.2
tomlkit==0.5.11
tqdm==4.66.1
typer==0.9.0
typing_extensions==4.9.0
urllib3==2.1.0
wasabi==1.1.2
weasel==0.3.4