Add auto downloading of files #4

Merged
Fascinated merged 13 commits from development into master 2023-07-12 13:45:19 +00:00
2 changed files with 6 additions and 1 deletions
Showing only changes of commit 8cd0ff0a46 - Show all commits

@ -24,4 +24,4 @@ ENV NODE_ENV=production
EXPOSE 3000
# Start the app
CMD ["npm", "start"]
CMD ["bash", "start.sh"]

5
start.sh Normal file

@ -0,0 +1,5 @@
if [ -z "$(ls -A /usr/src/app/public)" ]; then
echo "Directory is empty"
fi
node start