Smart-Book-Assistant / Dockerfile
d12o6aa's picture
Add application file
80013b7
raw
history blame contribute delete
285 Bytes
FROM python:3.10-slim
WORKDIR /app
RUN apt-get update && apt-get install -y \
build-essential \
libmagic-dev \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["python", "app/main.py"]