Wealth / Dockerfile
EricaLuvGemma's picture
Update Dockerfile
ce66540 verified
Raw
History Blame Contribute Delete
421 Bytes
FROM python:3.12-slim
ENV PYTHONUNBUFFERED=1
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /app
RUN apt-get update && apt-get install -y \
bash \
git \
curl \
nano \
vim \
procps \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
EXPOSE 7860