Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR "No files in /Data/Resumes" when running dockerfile [WITH WORKAROUND] #286

Open
OneProgrammerMore opened this issue Sep 12, 2024 · 1 comment

Comments

@OneProgrammerMore
Copy link

Describe the bug
Dockerfile building arise error "No files in /Data/Resumes" when files are in the folder.

To Reproduce
Just run the docker build or docker-compose up in the root project folder

Expected behavior
Docker Builds does NOT work.
"No files in /Data/Resumes" Error

Desktop (please complete the following information):

Posible WORK AROUND
Comment line in run_first.py number 38:

remove_old_files(PROCESSED_RESUMES_PATH)

Question
Why it is this script deleting all files contained in this folder?
How do I need to build without commenting this line?

PD
If you want to build from dockerfile do not forget to comment line 60 also from run_first.py
#remove_old_files(PROCESSED_JOB_DESCRIPTIONS_PATH)
(Similar problem as before)

PD2
Still some error while building from docker...
To solve them run in the docker container folder /data/Resume-Matcher/:

mkdir -p ./Data/Processed/JobDescription
mkdir -p ./Data/Processed/Resumes
python3 run_first.py

image

And it seems to work without any trouble... at least for the moment

@OneProgrammerMore
Copy link
Author

By the way! Thanks for this open source software to the developers! Just first impression but really nice software! Just wondering right now how keywords are extracted from my resume haha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant