This commit is contained in:
tyuXX 2026-09-27 16:04:49 +03:00
parent 930af8d9e9
commit 4b191a80bf
2 changed files with 2 additions and 3 deletions

View file

@ -29,7 +29,7 @@ WORKDIR /app
COPY package*.json ./ COPY package*.json ./
# Install only production dependencies # Install only production dependencies
RUN npm ci --only=production RUN npm install --omit=dev
# Copy built files from builder stage # Copy built files from builder stage
COPY --from=builder /app/dist ./dist COPY --from=builder /app/dist ./dist

View file

@ -1,5 +1,3 @@
version: '3.8'
services: services:
# Main application # Main application
geimini-revolver: geimini-revolver:
@ -16,6 +14,7 @@ services:
- PORT=3000 - PORT=3000
- LOG_DIR=/app/logs - LOG_DIR=/app/logs
- NODE_ENV=production - NODE_ENV=production
- RATE_LIMIT_DURATION_MS=${RATE_LIMIT_DURATION_MS:-60000}
volumes: volumes:
# Persist logs to host # Persist logs to host
- ./logs:/app/logs - ./logs:/app/logs