Skip to content
Error: Docker build failed
kalikim
OP

2 years ago

https://station-media-server.railway.app/attachments/519ab9778a864dd58e8e8898cbfc7f4b-image.png2 warnings found (use --debug to expand):

Aug 10 20:42:09

- UndefinedVar: Usage of undefined variable '$NIXPACKS_PATH' (line 18)

Aug 10 20:42:09

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 18)

Aug 10 20:42:09

Aug 10 20:42:09

Dockerfile:20

Aug 10 20:42:09

-------------------

Aug 10 20:42:09

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

Aug 10 20:42:09

19 | COPY . /app/.

Aug 10 20:42:09

20 | >>> RUN --mount=type=cache,id=s/cc0a1922-8815-405b-8131-71ec6466c011-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt

Aug 10 20:42:09

21 |

Aug 10 20:42:09

22 |

Aug 10 20:42:09

Aug 10 20:42:09

-------------------

Aug 10 20:42:09

ERROR: failed to solve: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1

Aug 10 20:42:09

Aug 10 20:42:09

Error: Docker build failed

Solved

1 Reply

2 years ago

Hey looks like you have solved this, if you need any further help with the platform please open a new thread.


Status changed to Solved brody • over 2 years ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...