kernel / Dockerfile
aaloksan's picture
feat: added dockerfile with missing fixes
5fe4705
raw
history blame contribute delete
257 Bytes
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1
WORKDIR /app
COPY requirements.txt ./
RUN pip install --upgrade pip && pip install -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["python", "app.py"]