Files
rengine/backend/Dockerfile.dev
T
Yogesh Ojha 443f73af89 refactor: restructure backend codebase and implement user authentication features
- Update Dockerfile to copy shared directory and dependency files
- Create new README.md file
- Refactor database session management and security imports
- Implement user authentication routes and user management endpoints
- Add configuration settings for application and database
- Set up logging configuration for backend services
- Update docker-compose for improved service management
2026-01-24 14:26:10 +05:30

18 lines
379 B
Docker

FROM python:3.12-slim
WORKDIR /app
# Install uv
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
# Copy shared directory isnide the app
COPY shared ./shared
COPY backend/pyproject.toml backend/uv.lock* ./
RUN uv sync --no-install-project
# Expose port
EXPOSE 8000
CMD ["uv", "run", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]