diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4a71bae --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM python:3.8-alpine + +WORKDIR /app/ + +RUN apk update && apk add --no-cach --virtual bash git gcc g++ + +RUN python -m pip install --upgrade pip + +COPY . /app/ + +CMD ["python", "game.py"] \ No newline at end of file diff --git a/utils.py b/utils.py index 5a0e369..5ab0a3c 100644 --- a/utils.py +++ b/utils.py @@ -1,8 +1,6 @@ import json import random -from pathlib import Path - from create_dict import get_file_path from settings import NUMB_LETTERS_IN_WORD