NekoStickers / Dockerfile
zhangfeng144
update docker permission
3feeda1
raw
history blame
338 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
COPY --chown=user:user . /app
ENV HF_HOME=/tmp/.cache
CMD python main.py
EXPOSE 7860