Compare commits

..

No commits in common. "0dd750a115d681e6f5aaaa7ac27d62673b85ea94" and "c28f50f49ea82b8f309b131484555096e1a7b769" have entirely different histories.

2 changed files with 1 additions and 2 deletions

@ -14,4 +14,4 @@ services:
- 3000:3000 - 3000:3000
volumes: volumes:
- ./config.json:/usr/src/app/config.json:ro # The application config (Must be created before starting the service) - ./config.json:/usr/src/app/config.json:ro # The application config (Must be created before starting the service)
- ./public:/usr/src/app/public:rw # Used for public facing images (uncomment if you are using your own images - see the public directory) #- ./public:/usr/src/app/public:ro # Used for public facing images (uncomment if you are using your own images - see the public directory)

@ -8,7 +8,6 @@ if [ -z "$(ls -A $workDir/public)" ]; then
echo "Some files are missing, downloading them" echo "Some files are missing, downloading them"
if [ ! -w "$workDir" ]; then if [ ! -w "$workDir" ]; then
echo "The directory \"$workDir\" is not writeable, unable to download files. Please check your docker compose for :ro and set it to :rw" echo "The directory \"$workDir\" is not writeable, unable to download files. Please check your docker compose for :ro and set it to :rw"
fi
for item in "${toDownload[@]}" for item in "${toDownload[@]}"
do do
dir=$workDir/public/$item dir=$workDir/public/$item