Open hemanth5544 opened 3 months ago
The error message indicates that the sklearn package is deprecated and should be replaced with scikit-learn
make sure to change the Dockerfile like this
FROM nikolaik/python-nodejs:latest
RUN pip install --upgrade pip && \ pip install --no-cache-dir pathlib scikit-learn
WORKDIR /app
COPY package*.json ./
RUN npm install -qy
COPY . .
EXPOSE 3001 CMD [ "npm", "start" ]
changes in docker file
The error message indicates that the sklearn package is deprecated and should be replaced with scikit-learn
make sure to change the Dockerfile like this
FROM nikolaik/python-nodejs:latest
RUN pip install --upgrade pip && \ pip install --no-cache-dir pathlib scikit-learn
Create app directory
WORKDIR /app
Install app dependencies
COPY package*.json ./
RUN npm install -qy
COPY . .
EXPOSE 3001 CMD [ "npm", "start" ]