Im trying to make a docker container run this python script I made. Every time I run the container, I get an error of it not being able to find the script even though it is in that listed directory. python: can't open file '/home/johnb/manual_into_ckl.py': [Errno 2] No such file or directory
Dockerfile
FROM python:3.10
ADD manual_into_ckl.py .
WORKDIR /home/johnb
RUN pip install pandas
CMD [ "python", "manual_into_ckl.py"]
Very new to this, not sure what else to do. Thanks
Changed the workdir, changed permissions, all still the same error.
WORKDIRbefore youADD(orCOPY) a file into., the current directory.