File size: 362 Bytes
06fd806
 
2839aa7
 
 
 
 
 
 
06fd806
 
0ef2fde
06fd806
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM python:3.9-slim

RUN apt-get update && apt-get install -y --no-install-recommends tzdata && \
    rm -rf /var/lib/apt/lists/*

ENV TZ=Asia/Shanghai

RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

WORKDIR /app

RUN pip install --no-cache-dir pyyaml requests aiohttp cachetools

COPY . .

EXPOSE 8080

CMD ["python", "app.py"]