Skip to content
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
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Обновлять пип не имеет особого смысла если ты не устанавливаешь им зависимости


COPY . /app/

CMD ["python", "game.py"]
2 changes: 0 additions & 2 deletions utils.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down