- Add FastAPI service for managing oil delivery services - Implement service scheduling and management endpoints - Add customer service history tracking - Include database models for services, customers, and auto-delivery - Add authentication and authorization middleware - Configure Docker support for local, dev, and prod environments - Add comprehensive .gitignore for Python projects
20 lines
219 B
Docker
20 lines
219 B
Docker
FROM python:3.12-bullseye
|
|
|
|
ENV PYTHONFAULTHANDLER=1
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
ENV MODE="LOCAL"
|
|
|
|
RUN mkdir -p /app
|
|
|
|
COPY requirements.txt /app
|
|
|
|
WORKDIR /app
|
|
|
|
RUN pip3 install -r requirements.txt
|
|
|
|
EXPOSE 8000
|
|
|
|
COPY . /app
|