Here's my dockerfile:
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.7
COPY ./app /app/app
WORKDIR /app/app
RUN "pip install -r requirements.txt"
And here's my folder structure:
When I try to build the image using docker build -t myimage .
, I get the following error:
Any insight into resolving this would be appreciated.
CodePudding user response:
I’m not at my laptop to try but give the RUN command a shot without the quotes around it.
CodePudding user response:
Try
RUN ["pip", "install", "-r", "requirements.txt"]