Spaces:
Sleeping
Sleeping
File size: 296 Bytes
b3be959 f633bb8 b618776 e90a64d 0f4d874 f633bb8 b618776 0f4d874 b618776 b3be959 0f4d874 5ae01c4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
FROM python:3.11.10
WORKDIR /code
RUN pip install --no-cache-dir uv
ENV VIRTUAL_ENV=/code/.venv
RUN uv venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
COPY requirements.txt .
RUN uv pip install --no-cache -r requirements.txt
COPY . .
ENV PORT=7860
EXPOSE $PORT
CMD ["python", "main.py"] |