problems when deploying app django

carlos-marquez717HOBBY

a year ago

problems when deploying it gives me the following error 
2 warnings found (use --debug to expand):

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

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

 

Dockerfile:20

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

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

19 |     COPY . /app/.

20 | >>> RUN --mount=type=cache,id=s/299e0e3f-d4ed-49de-a701-504a95c1e25d-/root/cache/pip,target=/root/.cache/pip python -m venv --copies / opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt

21 |

22 |

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

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

 

Error: Docker build failed
Closed

5 Replies


carlos-marquez717HOBBY

a year ago

I don't understand what I do with this? I apologize, I'm new to railway.

a year ago

Follow the instructions on the page.


chukwuemekamusicHOBBY

10 months ago

Hi Brody, I had the same issues

Attachments


10 months ago

Hey, not the same issue, please open your own help thread.


Status changed to Closed brody 10 months ago


problems when deploying app django - Railway Help Station