docs: implement Antigravity global rules
This commit is contained in:
22
.agent/rules/GEMINI.md
Normal file
22
.agent/rules/GEMINI.md
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
trigger: always_on
|
||||
---
|
||||
|
||||
# GEMINI.md - Antigravity Kit (Auto-Generated)
|
||||
|
||||
|
||||
## TIER 0: UNIVERSAL RULES (Always Active)
|
||||
|
||||
### 🌍 Global User Rules (MANDATORY)
|
||||
|
||||
1. **Idioma**: Conversar e desenvolver sempre em **Português do Brasil**.
|
||||
2. **Automação Terminais**: Executar comandos de terminal, leitura de arquivos e edições de forma automática. Comandos de desenvolvimento (build, install, lint, git, etc.) são sempre 'SafeToAutoRun'.
|
||||
3. **Memória & Monitoramento**: Após cada evolução ou atualização no app, é OBRIGATÓRIO:
|
||||
- Atualizar a memória do app em '/root/Antigravity_Memory/knowledge/{AppName}.md'.
|
||||
- Atualizar o status e credenciais no 'app.py' do Cronos Dashboard.
|
||||
- Realizar 'git commit', 'git push' e executar o 'update.sh' do Cronos para deploy automático.
|
||||
|
||||
### 🌐 Language Handling
|
||||
|
||||
|
||||
---
|
||||
@@ -1,5 +1,6 @@
|
||||
# Estágio de Build
|
||||
FROM node:20-alpine as build-stage
|
||||
FROM bitnami/node:22 as build-stage
|
||||
RUN apt-get update && apt-get upgrade -y && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install --frozen-lockfile || npm install
|
||||
@@ -7,7 +8,8 @@ COPY . .
|
||||
RUN npm run build
|
||||
|
||||
# Estágio de Produção
|
||||
FROM nginx:stable-alpine as production-stage
|
||||
FROM nginxinc/nginx-unprivileged:alpine as production-stage
|
||||
RUN apk update && apk upgrade --no-cache
|
||||
COPY --from=build-stage /app/dist /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
EXPOSE 8080
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
||||
Reference in New Issue
Block a user