Set up the required directory layout, app scaffolding, core settings, templates, static assets, and Docker/Tailwind tooling to establish a standardized development baseline.
9 lines
337 B
Docker
9 lines
337 B
Docker
FROM python:3.12-slim
|
|
WORKDIR /app
|
|
RUN apt-get update && apt-get install -y libpq-dev gcc && rm -rf /var/lib/apt/lists/*
|
|
COPY requirements/base.txt requirements/base.txt
|
|
RUN pip install --no-cache-dir -r requirements/base.txt
|
|
COPY . .
|
|
EXPOSE 8000
|
|
CMD ["uvicorn", "config.asgi:application", "--host", "0.0.0.0", "--port", "8000"]
|