I am trying to deploy my node js web app. this contains one python file which I am calling from node using ‘child-process’. I tried to deploy this in docker environment because some dependencies required by python is not present in python environment.
So, the project has been deployed successfully but when I tried to send the request where I need that python file to run, I am getting error as no module found…
I already installed all the libraries using docker, still getting error.
Is there anyone know how to fix this ?
The docker code is :-
FROM python:3.9 AS python_builder
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
COPY --from=python_builder . .
COPY package*.json ./
RUN npm install
CMD [ “npm”, “start” ]