Fix npm build script to use 'production' instead of 'prod'

This commit is contained in:
Your Name
2025-10-22 08:29:00 -06:00
parent da0f53a470
commit 67a2485e84

View File

@@ -49,7 +49,7 @@ RUN cd /app/code && \
# Install Node dependencies and build assets # Install Node dependencies and build assets
RUN cd /app/code && \ RUN cd /app/code && \
npm install && \ npm install && \
npm run prod && \ npm run production && \
rm -rf node_modules && \ rm -rf node_modules && \
chown -R cloudron:cloudron /app/code/public chown -R cloudron:cloudron /app/code/public