You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ConsulManager/flask-consul/Dockerfile

8 lines
252 B

3 years ago
FROM python:3-alpine
ADD . /flask
WORKDIR /flask
3 years ago
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"]