下記のDjangoを動作させたいのですが、エラーで止まってしまいます。
https://github.com/YutaGoto/blog_system_on_django
docker-compose run --rm web python manage.py migrate
の部分で下記のようなエラーが出ます。
Step 1/12 : FROM python:3
---> e497dabd8450
Step 2/12 : ENV PYTHONUNBUFFERED 1
---> Using cache
---> 4f26f61055c2
Step 3/12 : RUN apt-get update && apt-get clean
---> Using cache
---> 8c82bbd02930
Step 4/12 : RUN apt-get install -y nodejs npm && apt-get clean
---> Using cache
---> 7f9902c0a0f2
Step 5/12 : RUN ln -s /usr/bin/nodejs /usr/bin/node
---> Running in e8db6b29da95
ln: failed to create symbolic link '/usr/bin/node': File exists
ERROR: Service 'web' failed to build: The command '/bin/sh -c ln -s /usr/bin/nodejs /usr/bin/node' returned a non-zero code: 1
対処法がありますでしょうか?
よろしくお願いします。
あなたの回答
tips
プレビュー