ci/cd
Gitea Actions Demo / Deploy (push) Successful in 8s

This commit is contained in:
vadim committed 2026-09-24 15:02:16 +03:00
1 parent 7b999a670c
commit e9a61ac684
5 files changed
+655 -597

No files matched your search

+2 -2
View File
@@ -1,9 +1,9 @@
FROM node:lts-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci
RUN npm install
COPY . .
RUN npx prisma generate
RUN npm run build
EXPOSE 3000
CMD ["node", "dist/main"]
CMD ["sh", "-c", "npx prisma migrate deploy && node dist/main"]