Add temporary .env for vite build

This commit is contained in:
Your Name
2025-10-22 08:30:11 -06:00
parent 67a2485e84
commit 46e16e96c9

View File

@@ -48,8 +48,10 @@ RUN cd /app/code && \
# Install Node dependencies and build assets # Install Node dependencies and build assets
RUN cd /app/code && \ RUN cd /app/code && \
echo "APP_URL=http://localhost" > .env && \
npm install && \ npm install && \
npm run production && \ npm run production && \
rm -f .env && \
rm -rf node_modules && \ rm -rf node_modules && \
chown -R cloudron:cloudron /app/code/public chown -R cloudron:cloudron /app/code/public