zed2api / Dockerfile
smgc's picture
Update Dockerfile
ed00f9d verified
raw
history blame
364 Bytes
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
COPY . .
RUN pip install --no-cache-dir flask requests asgiref uvicorn pyjwt
EXPOSE 8000
CMD ["python", "app.py"]