mirror of
https://github.com/Shadik23/telegram_greeting_bot.git
synced 2026-01-30 14:39:44 +05:00
feat: Add GitHub Actions CI and professional README
This commit is contained in:
14
web/Dockerfile
Normal file
14
web/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM python:3.9-slim-buster
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Копируем файл зависимостей из папки web
|
||||
COPY web/requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Копируем исходный код из папки web/src
|
||||
COPY web/src/. /app/
|
||||
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
Reference in New Issue
Block a user