Refactor Dockerfile to execute start.sh and update .gitignore to exclude *.png files. Enhance fetchImages.js with improved path normalization and debug logging for asset checks, ensuring more reliable image fetching and processing.

This commit is contained in:
2024-12-28 10:56:15 -05:00
parent 09a34e2f38
commit ba39cb4af7
8 changed files with 16 additions and 11 deletions

View File

@@ -5,5 +5,6 @@ COPY package.json package-lock.json ./
RUN npm install
COPY . .
RUN chmod +x start.sh
CMD ["sh", "-c", "node fetchImages.js && node generateSite.js"]
CMD ["./start.sh"]