mirror of
https://github.com/rajnandan1/kener.git
synced 2026-06-23 04:10:22 +00:00
refactor(docker): enhance build process and organize template files fixes #429
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
#==========================================================#
|
||||
|
||||
Reference in New Issue
Block a user