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:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user