Tesvia's picture
initial commit
4c23cee
raw
history blame
322 Bytes
FROM python:3.12-slim
WORKDIR /Final_Assignment
# Install only what you need
COPY requirements.txt .
RUN apt-get update && apt-get install -y --no-install-recommends git \
&& rm -rf /var/lib/apt/lists/* \
&& pip install --upgrade pip \
&& pip install -r requirements.txt
EXPOSE 7860
CMD ["bash"]