Can't run python code with external libraries from docker container – "No module named" error
I have the docker file: FROM python:3.9-slim RUN apt-get update && apt-get install -y openssh-server RUN pip install cryptography bcrypt pynacl paramiko scp loguru pydantic psutil CMD ["/usr/sbin/sshd", "-D", "-h", "/etc/ssh/key"] WORKDIR /code And this main.py file import references: import…