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
1 Reply
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