This commit is contained in:
mobinesaghi
2025-10-21 18:48:22 +03:30
parent f50df9d6ad
commit 6e706a1af8
21 changed files with 2122 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
# syntax=docker/dockerfile:1
FROM node:20-alpine AS base
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm install --production=false
COPY tsconfig.json ./
COPY src ./src
ENV PORT=20205
ENV DB_NAME=Identity_verification
ENV DB_USER=root
ENV DB_PASS=changeme
ENV DB_HOST=mysql
ENV DB_PORT=3306
ENV JIBIT_API_KEY=change_me
ENV JIBIT_SECRET_KEY=change_me
EXPOSE 20205
CMD ["npx", "tsx", "src/index.ts"]