diff --git a/Dockerfile b/Dockerfile index 08b13d474..e6d5203a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,5 +41,5 @@ ENV ASTRO_DB_REMOTE_URL=file:/app/data/consent.db ENV HOST=0.0.0.0 ENV PORT=80 -# Use serve to host static files on port 80 -CMD ["npx", "serve", "dist", "-l", "80", "--config", "{\"directoryListing\": false, \"headers\": [{\"source\": \"**\", \"headers\": [{\"key\": \"Cache-Control\", \"value\": \"public, max-age=31536000, immutable\"}]}]}"] +# Serve static files on port 80 (simple, no config issues) +CMD ["npx", "serve", "dist", "-l", "80", "--no-clipboard", "--single"]