File size: 309 Bytes
1c2b077
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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

ENV HF_HOME=/tmp/.cache


CMD python main.py

EXPOSE 7860