DEV Community

abhishek44
abhishek44

Posted on

Running pip install requirements.txt fails in docker build

I am trying to create a docker image for machine learning model but it fails if i try to install from requirements.txt but if I run below docker file then it runs successfully

The following is my docker file:

FROM alpine:latest

RUN mkdir -p /home/ePortalService
WORKDIR /home/ePortalService

COPY requirements.txt /home/ePortalService

Top comments (0)