generated from Fascinated/nextjs-13-template-with-tailwindcss
Compare commits
2 Commits
c28f50f49e
...
0dd750a115
Author | SHA1 | Date | |
---|---|---|---|
0dd750a115 | |||
98b7ad12cc |
@ -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:ro # Used for public facing images (uncomment if you are using your own images - see the public directory)
|
||||
- ./public:/usr/src/app/public:rw # Used for public facing images (uncomment if you are using your own images - see the public directory)
|
||||
|
1
start.sh
1
start.sh
@ -8,6 +8,7 @@ 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