Correct Dockerfile directory and install requirement first in Dockerfile
Open
xiangsx
opened this issue 2 years ago
•
0 comments
The Dockerfile should be placed in the project root directory for easier usage during the build process.
The "copy requirements.txt" step should be moved to the beginning of the Docker build process to utilize cache in case of code changes during image build.
The addition of the Chinese pip source has been commented out. Chinese users can uncomment it to get access to the source.