Skip to content

service 'web' failed error when running Dockerfile #221

@nuljon

Description

@nuljon

Hi, I tried to install the Docker container per the Readme instructions.

It fails with the following error:

Step 30/38 : RUN rm /app/src//settings/local.py && find . -na
elete && python -mcompileall -q / && manage.py compilemess
anage.py collectstatic --noinput --link && manage.py migrate &&
y loaddata example_data.json && mkdir -p /app/web/media /app/we
E && chown -R app:app /app/web/media/ /app/web/static/CACHE /tm
chmod -R go+rw /app/web/media/ /app/web/static/CACHE /tmp/demo.
---> Running in 138fec6aa2a9
/usr/bin/env: `python\r': No such file or directory
ERROR: Service 'web' failed to build: The command '/bin/sh -c rm /a
ings/local.py
&& find . -name '*.pyc' -delete && python -m
*/ && manage.py compilemessages && manage.py collectstatic
link && manage.py migrate && manage.py loaddata example_dat
mkdir -p /app/web/media /app/web/static/CACHE && chown -R app:
media/ /app/web/static/CACHE /tmp/demo.db && chmod -R go+rw /ap
/app/web/static/CACHE /tmp/demo.db' returned a non-zero code: 127

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions