19 lines
415 B
Docker
19 lines
415 B
Docker
FROM bet-base:arm64
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends tzdata && \
|
|
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
|
|
dpkg-reconfigure -f noninteractive tzdata && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
ENV HTTP_PROXY=http://host.docker.internal:7890
|
|
|
|
|
|
COPY . .
|
|
|
|
CMD ["bash"] |