Spaces:
Running
Running
FROM python:3.12-slim | |
WORKDIR /app | |
COPY requirements.txt . | |
# RUN apt-get update && apt-get install -y gcc python3-dev | |
RUN pip install -r requirements.txt | |
# RUN pip install --no-cache-dir -r requirements.txt | |
COPY . . | |
COPY ./sticker.db /tmp/sticker.db | |
RUN chmod -R 777 /app | |
ENV HF_HOME=/tmp/.cache | |
CMD python main.py | |
EXPOSE 7860 | |