problems when deploying app django

carlos-marquez717
HOBBYOP

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-marquez717
HOBBYOP

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.


chukwuemekamusic
HOBBY

a year ago

Hi Brody, I had the same issues

Attachments


a year ago

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


Status changed to Closed brody over 1 year ago


Loading...