Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleSet proper line encoding in docker entrypoint
# On some systems, the EOL encoding needs to be fixed for the docker-entrypoint.sh file:

sed -i -e 's/\r$//awk 'BEGIN{RS="^$";ORS="";getline;gsub("\r","");print>ARGV[1]}' ui/docker-entrypoint.sh

# Alternative: Open the file ui/docker-entrypoint.sh, change the eol encoding to "LF" (e.g., in Notepad++ by clicking on "Windows CRLF" in the bottom status bar).

...

Code Block
titleBuild Docker images and start
docker-compose up --build -d

# Use docker-compose up to run it in foreground
# Docker images will be locally built

...