|
FROM python:3-alpine
|
|
ADD . /flask
|
|
WORKDIR /flask
|
|
RUN pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple
|
|
#&& sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
|
EXPOSE 2026
|
|
CMD ["python3","./manager.py"]
|