Алан Гибизов, Изменил путь по вашему совету, но к сожалению тщетно, ошибка та же.
RUN python ./manage.py migrate
RUN python ./manage.py collectstatic
Вот полный лог ошибки
[kursachproject-app_server 8/8] RUN python ./manage.py collectstatic:
#0 1.478
#0 1.478 You have requested to collect static files at the destination
#0 1.478 location as specified in your settings.
#0 1.478
#0 1.478 This will overwrite existing files!
#0 1.478 Are you sure you want to do this?
#0 1.478
#0 1.478 Type 'yes' to continue, or 'no' to cancel: Traceback (most recent call last):
#0 1.478 File "/MIREA/./manage.py", line 22, in <module>
#0 1.478 main()
#0 1.478 File "/MIREA/./manage.py", line 18, in main
#0 1.478 execute_from_command_line(sys.argv)
#0 1.478 File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
#0 1.479 utility.execute()
#0 1.479 File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 440, in execute
#0 1.479 self.fetch_command(subcommand).run_from_argv(self.argv)
#0 1.479 File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 402, in run_from_argv
#0 1.479 self.execute(*args, **cmd_options)
#0 1.479 File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 448, in execute
#0 1.479 output = self.handle(*args, **options)
#0 1.479 File "/usr/local/lib/python3.10/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 206, in handle
#0 1.479 if input("".join(message)) != "yes":
#0 1.479 EOFError: EOF when reading a line
------
failed to solve: executor failed running [/bin/sh -c python ./manage.py collectstatic]: exit code: 1
Написано
Войдите на сайт
Чтобы задать вопрос и получить на него квалифицированный ответ.
Вот полный лог ошибки