refactor(docker): enhance build process and organize template files fixes #429

This commit is contained in:
Raj Nandan Sharma
2025-08-05 22:36:31 +05:30
parent 5c7b62e9f7
commit 65f039b7bd
+3 -1
View File
@@ -63,8 +63,10 @@ RUN rm -rf src/routes/\(docs\) \
mkdir -p uploads database && \
chmod -R 750 uploads database
# Build the application and remove `devDependencies`
# Build the application and copy templates to build directory
RUN npm run build && \
mkdir -p build/server/templates && \
cp -r src/lib/server/templates/* build/server/templates/ && \
npm prune --omit=dev
#==========================================================#