/
smaker21
/
YouTube-transcript-using-supadata
Обзор
Документация
Войти
/
smaker21
/
YouTube-transcript-using-supadata
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
backend/Dockerfile
23 строки
443 B
Ilya Ostapov
new file: .env.example
12 фев 2026, 18:43
12 фев 2026, 18:43
7016baa
Код
Авторство
О чём код?
FROM node:20-alpine WORKDIR /app # Install dependencies first (for caching) COPY package*.json ./ RUN npm ci --only=production # Copy source code COPY . . # Build TypeScript RUN npm run build # Expose port EXPOSE 4000 # Health check HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ CMD wget --no-verbose --tries=1 --spider http://localhost:4000/health || exit 1 # Run the server CMD ["node", "dist/server.js"]