feat(deploy): add PaaS templates and config
This commit is contained in:
+5
-2
@@ -53,8 +53,11 @@ COPY --from=builder /app/package.json ./
|
||||
# Copy SOUL.md if it exists (prompt template loaded at runtime)
|
||||
COPY --from=builder /app/SOUL.md ./
|
||||
|
||||
# Create data directories
|
||||
RUN mkdir -p /data/memory /data/sessions /config
|
||||
# Create data directories and ship a default config at /config/config.yaml so
|
||||
# the image is runnable without an external bind-mount (compose can still
|
||||
# override /config/config.yaml).
|
||||
RUN mkdir -p /data/memory /data/sessions /config && \
|
||||
cp -f /app/config/paas.yaml /config/config.yaml
|
||||
|
||||
# Environment
|
||||
ENV NODE_ENV=production \
|
||||
|
||||
Reference in New Issue
Block a user