20 lines
406 B
Docker
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"] |