Impossível rodar container com a imagem gerada pelo Dockerfile
Eric-Mendes opened this issue · comments
Eric Mendes commented
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