1. Rename postcss.config.js to postcss.config.cjs - Fixes CommonJS syntax in ES module project - Allows build to complete successfully 2. Remove --production flag from Dockerfile - Install ALL dependencies including sharp - Sharp required for Astro image optimization - Fixes sharp missing error Both fixes enable successful Docker build and favicon to work.
17 lines
314 B
JSON
17 lines
314 B
JSON
{
|
|
"name": "dealplustech-astro",
|
|
"type": "module",
|
|
"version": "0.0.1",
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"build": "astro build",
|
|
"preview": "astro preview",
|
|
"astro": "astro"
|
|
},
|
|
"dependencies": {
|
|
"@tailwindcss/vite": "^4.2.1",
|
|
"astro": "^5.17.1",
|
|
"tailwindcss": "^4.2.1"
|
|
}
|
|
}
|