generated from Fascinated/nextjs-13-template-with-tailwindcss
Add auto downloading of files #4
@ -24,4 +24,4 @@ ENV NODE_ENV=production
|
|||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
# Start the app
|
# Start the app
|
||||||
CMD ["npm", "start"]
|
CMD ["bash", "start.sh"]
|
5
start.sh
Normal file
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
|
Loading…
Reference in New Issue
Block a user