FROM alpine:3.18 MAINTAINER CattySteve cattysteve89265@163.com RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories RUN apk add python3 py3-pip gcc g++ python3-dev curl uuidgen RUN echo flag{$(uuidgen)} > /flag RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple COPY . /opt/galaxy WORKDIR /opt/galaxy RUN pip install -r ./requirements_deployment.txt EXPOSE 5001 CMD cd /opt/galaxy && python main.py HEALTHCHECK --interval=30s --timeout=30s --start-period=30s \ CMD curl http://localhost:5001 > /dev/null