I am very new to docker. I can successfully run python files on my machine however Docker is unable to recognize the pandas library.
Here is my Docker file:
FROM python
WORKDIR /app
COPY . /app
CMD ["python3", "fisherlog_corrected.py"]
The error message is as follows:
Traceback (most recent call last):
File "/app/fisherlog_corrected.py", line 5, in <module>
import pandas as pd
ModuleNotFoundError: No module named 'pandas'
How to solve this?