a year ago
I've got this problem in logs:
2 warnings found (use --debug to expand):
Aug 13 08:42:34
- UndefinedVar: Usage of undefined variable '$NIXPACKS_PATH' (line 18)
Aug 13 08:42:34
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 18)
Aug 13 08:42:34
Aug 13 08:42:34
Dockerfile:20
Aug 13 08:42:34
-------------------
Aug 13 08:42:34
18 | ENV NIXPACKS_PATH /opt/venv/bin:$NIXPACKS_PATH
Aug 13 08:42:34
19 | COPY . /app/.
Aug 13 08:42:34
20 | >>> RUN --mount=type=cache,id=s/e93f6290-f7ba-49a6-afe3-e3c65d4cde30-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt
Aug 13 08:42:34
21 |
Aug 13 08:42:34
22 |
Aug 13 08:42:34
-------------------
Aug 13 08:42:34
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 13 08:42:34
Aug 13 08:42:34
Error: Docker build failed
Can someone please solve me this? I don't know what to do
2 Replies
a year ago
Hey, looks like you have since got your service to deploy, am I good to mark this as solved?
Status changed to Solved brody • over 1 year ago
