Files
2025-01-25 16:20:23 -03:00

15 lines
288 B
Docker

FROM python:3.12.8-slim-bullseye
WORKDIR /app
COPY . /app
RUN apt-get update
RUN apt-get install gcc libpq-dev -y
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 8000
# Start the FastAPI server
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]