+10
@@ -0,0 +1,10 @@
|
||||
# copy pasted from ich_iel bot
|
||||
FROM python:3.13.13-slim-trixie
|
||||
|
||||
ENV PATH=/usr/local/bin:$PATH
|
||||
WORKDIR /app
|
||||
COPY requirements.txt .
|
||||
RUN apt-get update && apt-get install -y gcc libmariadb-dev && rm -rf /var/lib/apt/lists/*
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY . .
|
||||
CMD ["fastapi", "run", "main.py"]
|
||||
Reference in New Issue
Block a user