skip to Main Content

not able to install packages with requirements.txt in docker

i am creating image with below dockerfile: FROM python:3.9 WORKDIR /usr/app/ ADD ./requirements.txt /usr/app/requirements.txt RUN pip install --upgrade pip && hash pip && pip install -r requirements.txt Add . /usr/app/ ENTRYPOINT ["python"] CMD ["app.py"] requirements file: altair==4.1.0 cmdstanpy==1.0.8 h5py==3.1.0 keras-preprocessing==1.1.2…

VIEW QUESTION
Back To Top
Search