✅ Restauração do código oficial do GPI-JWT-V3
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM node:22-slim
|
||||
ARG MONGODB_URI=mongodb+srv://admtracksteel:29OHAHpKTI8XcCNt@cluster0.a4xiilu.mongodb.net/ts_gpi?retryWrites=true&w=majority&appName=Cluster0
|
||||
ARG JWT_SECRET=gpi_secure_prod_secret_2026_tracksteel_991827364500123567890abcdef
|
||||
ARG COOLIFY_URL=https://gpi-jwt.reifonas.cloud
|
||||
ARG COOLIFY_FQDN=gpi-jwt.reifonas.cloud
|
||||
ARG COOLIFY_BRANCH=main
|
||||
ARG COOLIFY_RESOURCE_UUID=wnb60qi3w0r849mos347szil
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm ci
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
ENV PORT=3000
|
||||
EXPOSE 3000
|
||||
CMD ["node", "dist/server/src/server/index.js"]
|
||||
Reference in New Issue
Block a user