From 46e16e96c999ca233ffc9971887174a58a4fbef1 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 22 Oct 2025 08:30:11 -0600 Subject: [PATCH] Add temporary .env for vite build --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index f8e4d4b..715acd7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,8 +48,10 @@ RUN cd /app/code && \ # Install Node dependencies and build assets RUN cd /app/code && \ + echo "APP_URL=http://localhost" > .env && \ npm install && \ npm run production && \ + rm -f .env && \ rm -rf node_modules && \ chown -R cloudron:cloudron /app/code/public