Docker build failed whereas it worked on replit

johncrescenzi
TRIAL

a year ago

Dockerfile:20

18 | ENV NIXPACKSPATH /opt/venv/bin:$NIXPACKSPATH

19 | COPY . /app/.

20 | >>> RUN --mount=type=cache,id=s/4661806b-aff9-46dc-80a9-cf23e279b57d-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install poetry==$NIXPACKSPOETRYVERSION && poetry install --no-dev --no-interaction --no-ansi

21 |

22 |

ERROR: failed to solve: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install poetry==$NIXPACKSPOETRYVERSION && poetry install --no-dev --no-interaction --no-ansi" did not complete successfully: exit code: 1

Error: Docker build failed

View Deploy details

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

1 Replies


Docker build failed whereas it worked on replit - Railway Help Station