This is my docker file:
FROM python:3.10
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY CollegeXUniversityDataScraper ./CollegeXUniversityDataScraper/
COPY scrapyd.conf ./
ENTRYPOINT [ "scrapyd"]
It is running perfectly fine over the port configured in the scrapyd.conf file. But when I build the same and deploy on heroku, it does not seem to work.
This is what I get back in return
State changed from crashed to starting
2023-03-22T09:12:44.063518+00:00 heroku[web.1]: Starting process with command `scrapyd`
.....
/usr/local/bin/scrapyd -n: Unknown command: scrapyd
Process exited with status 0
State changed from starting to crashed