Compare commits

..

No commits in common. "cbc89a001cba4e831ad644c22971fc471f62320f" and "9ea8f4ccc3fff21338c07971ddbb7d89c00773dd" have entirely different histories.

3 changed files with 0 additions and 76 deletions

View File

@ -1,12 +0,0 @@
node_modules
dist
.env
.env.*
!.env.example
.git
.gitignore
coverage
*.log
Dockerfile
docker-compose.yml

View File

@ -1,40 +0,0 @@
kind: pipeline
type: docker
name: build-deploy
steps:
- name: Build Docker Image
image: plugins/docker
settings:
registry: git.midastix.com
repo: git.midastix.com/ci-docker-repo-user/manicandle-backend
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- latest
when:
branch:
- main
event:
- push
- name: Deploy
image: appleboy/drone-ssh
settings:
host: api.midastix.com
username: manicandle-backend
key:
from_secret: server_ssh_pkey
port: 22
command_timeout: 3m
script:
- echo "Deploying manicandle-backend"
- sudo /opt/deployable/manicandle-backend/docker/deploy.sh
- echo "Deployment completed"
when:
branch:
- main
event:
- push

View File

@ -1,24 +0,0 @@
FROM node:24.15-alpine
WORKDIR /app
RUN corepack enable && corepack prepare pnpm@11.19.0 --activate
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
COPY prisma ./prisma
COPY prisma.config.ts ./
RUN pnpm install --frozen-lockfile
COPY tsconfig.json tsconfig.build.json ./
COPY src ./src
RUN pnpm db:generate
RUN pnpm build
ENV NODE_ENV=production
ENV PORT=3000
EXPOSE 3000
CMD ["pnpm", "start"]