giga_tcg/Dockerfile
zman 9021151b74
All checks were successful
Deploy App to Docker / deploy (push) Successful in 1m30s
addresses and pricing
2025-04-07 16:08:18 -04:00

20 lines
406 B
Docker

FROM python:3.13-slim
WORKDIR /app
ENV DATABASE_URL=postgresql://poggers:giga!@192.168.1.41:5432/omegatcgdb
RUN apt-get update && \
apt-get install -y fonts-liberation && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]