Error :
failed to compute cache key: "/app" not found: not found
My Dockerfile:
FROM python:3.7-alpine
ENV PYTHONUNBUFFERED 1
COPY ./requirements.txt /requirements.txt
RUN pip install -r /requirements.txt
RUN mkdir /app
WORKDIR /app
COPY ./app /app
RUN adduser -D user
USER user
Error in COPY ./app app
Operating System: MacOS
Is someone faced this problem ?

The APP folder does not exist in your project
You are trying to add an APP folder that does not exist into your docker container and it is complaining because there is no APP folder to add into the container
In the line
COPY ./APP /APP
The ./APP must reflect a folder that is in your project
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With