generated from Fascinated/nextjs-13-template-with-tailwindcss
Compare commits
No commits in common. "0dd750a115d681e6f5aaaa7ac27d62673b85ea94" and "c28f50f49ea82b8f309b131484555096e1a7b769" have entirely different histories.
0dd750a115
...
c28f50f49e
@ -14,4 +14,4 @@ services:
|
||||
- 3000:3000
|
||||
volumes:
|
||||
- ./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)
|
||||
|
1
start.sh
1
start.sh
@ -8,7 +8,6 @@ if [ -z "$(ls -A $workDir/public)" ]; then
|
||||
echo "Some files are missing, downloading them"
|
||||
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"
|
||||
fi
|
||||
for item in "${toDownload[@]}"
|
||||
do
|
||||
dir=$workDir/public/$item
|
||||
|
Loading…
Reference in New Issue
Block a user