feat: добавить auth функционал, URL и Docker конфигурацию
Some checks failed
Build and Push Docker Image / build (push) Failing after 12s
Some checks failed
Build and Push Docker Image / build (push) Failing after 12s
- Добавлены views, URL и страницы для входа, регистрации, профиля - Обновлён основной маршрут users/urls.py - Перенаправлен маршрут catalog вместо items - Обновлена структура header с добавлением ссылки на главную - Создан Dockerfile и workflow для сборки и доставки образов
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
ENV HOST=0.0.0.0
|
||||
ENV PORT=8000
|
||||
|
||||
EXPOSE ${PORT}
|
||||
|
||||
CMD uvicorn santehray.asgi:application --host ${HOST} --port ${PORT}
|
||||
Reference in New Issue
Block a user