14 lines
246 B
Text
14 lines
246 B
Text
|
|
FROM python:3.11-slim
|
||
|
|
|
||
|
|
WORKDIR /app
|
||
|
|
|
||
|
|
ENV TZ=Asia/Bangkok
|
||
|
|
|
||
|
|
COPY requirements.txt .
|
||
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
||
|
|
|
||
|
|
COPY . .
|
||
|
|
|
||
|
|
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
|
||
|
|
|
||
|
|
CMD ["python", "main.py"]
|