Skip to content

Commit

Permalink
[skip ci] wip
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 committed Jun 7, 2024
1 parent c858a7b commit 559ae06
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .kontinuous/env/dev/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
api:
args:
- sh
- -c
- "yarn strapi import -f ../seed-data.tar.gz && yarn start"
preDeploy:
cleaner:
match:
kind: Deployment
value: true

pg:
preDeploy:
cleaner:
match:
kind: clusters.postgresql.cnpg.io
value: true
1 change: 1 addition & 0 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN yarn build && \

FROM node:20 as runner
WORKDIR /app
RUN chown node:node .
ENV NODE_ENV=production

COPY --chown=node:node --from=builder /app /app
Expand Down

0 comments on commit 559ae06

Please sign in to comment.