Hi guys,
I am new to Docker and I am trying to build a Python image with the libraries I need. I tried to follow some tutorials online but I did not succeed.
Here is what my docker file looks like. I placed requirements.txt just next to Dockerfile in the same directory.
FROM python:latest
RUN apt-get updat
RUN apt-get install cron -yqq curl
RUN pip install -r requirements.txt
RUN mkdir /data
RUN mkdir /notebooks
RUN mkdir /tmp/tflearn_logs
VOLUME [“/data”, “/notebooks”, “/tmp/tflearn_logs”]
EXPOSE 8888
CMD jupyter notebook --no-browser --ip=0.0.0.0 --allow-root --NotebookApp.token=‘demo’
However when I try to build the image it says “Could not open requirements file: [Errno 2] No such file or directory: ‘requirements.txt’”.
Does someone know how to fix my problem ? Or/and has any remark about something useless I do or something useful I forgot in my Dockerfile ?
Thanks for the help
Armand