R
RunPod2d ago
Mado

Build can't find requirements.txt

For some reason when trying to create an endpoint, it can't find the requirements when running COPY requirements.txt /app/ using Docker, although it is in the same directory as the Dockerfile itself. It only happens when using runpod and it works when using Docker locally. This is my first time doing something with Docker, so please don't roast me xD
No description
No description
No description
1 Reply
yhlong00000
yhlong000002d ago
Set the working directory inside the container WORKDIR /app Copy everything from the current directory to /app in the container COPY . . Install dependencies RUN pip install -r requirements.txt

Did you find this page helpful?