NekoStickers / Dockerfile
zhangfeng144
update dockerfile
8463925
raw
history blame contribute delete
330 Bytes
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