henriquepgomide / caRtola

Extração de dados da API do CartolaFC, análise exploratória dos dados e modelos preditivos em R e Python - 2014-22. [EN] Data munging, analysis and modeling of CartolaFC - the most popular fantasy football game in Brazil. Data cover years 2014-23.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Impossível rodar container com a imagem gerada pelo Dockerfile

Eric-Mendes opened this issue · comments

Não consegui rodar o container por conta de um mismatch na versão do Python entre o Dockerfile e o pyproject.toml.

Reproduzindo o erro:

$ docker build -t cartola .
>>> # ... build output

$ docker run --rm cartola
>>> The currently activated Python version 3.8.17 is not supported by the project (3.10.*).
Trying to find and use a compatible version.

Poetry was unable to find a compatible version. If you have one, you can explicitly use it via the "env use" command.
  • Meu OS: Windows 11
  • Meu Docker: 24.0.2
  • Meu Python (local): 3.11.3