I am new in docker .facing to run "pip install . "

amzadhossainrafisTRIAL

4 months ago

11 DONE 1.2s

12 [8/9] RUN pip install .

11 DONE 1.2s

12 [8/9] RUN pip install .

12 0.560 ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.

12 ERROR: process "/bin/sh -c pip install ." did not complete successfully: exit code: 1

[8/9] RUN pip install .:

0.560 ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.

Dockerfile:14

12 | RUN pip install torch --index-url https://download.pytorch.org/whl/cpu

13 | RUN pip install gunicorn

14 | >>> RUN pip install .

15 | COPY . .

16 |

ERROR: failed to solve: process "/bin/sh -c pip install ." did not complete successfully: exit code: 1

12 0.560 ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.

12 ERROR: process "/bin/sh -c pip install ." did not complete successfully: exit code: 1

[8/9] RUN pip install .:

0.560 ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.

Dockerfile:14

12 | RUN pip install torch --index-url https://download.pytorch.org/whl/cpu

13 | RUN pip install gunicorn

14 | >>> RUN pip install .

15 | COPY . .

16 |

ERROR: failed to solve: process "/bin/sh -c pip install ." did not complete successfully: exit code: 1

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

0 Replies

I am new in docker .facing to run "pip install . " - Railway Help Station