Spaces:
Sleeping
Sleeping
File size: 402 Bytes
09da05c 194b828 09da05c 194b828 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | FROM python:3.10-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1 \
PORT=7860
WORKDIR /app
COPY requirements.txt pyproject.toml README.md LICENSE ./
COPY .env .env
COPY adsp ./adsp
COPY scripts ./scripts
COPY data ./data
RUN python -m pip install --upgrade pip && \
pip install -r requirements.txt
EXPOSE 7860
CMD ["python", "scripts/run_hf_space.py"]
|