| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=18.04 |
| ADD file:3c74e7e08cbf9a87694ce6fa541af617599680fa54d9e48556fc0fbc120b4a83 in / |
| CMD ["/bin/bash"] |
| WORKDIR /usr/src/app |
| RUN /bin/sh -c apt-get update && apt-get install -y python2.7 python-pip python-dev gcc g++ build-essential libffi-dev libssl-dev && rm -rf /var/lib/apt/lists/* # buildkit |
| COPY requirements.txt ./ # buildkit |
| RUN /bin/sh -c pip install --upgrade 'pip<21' 'setuptools<45' # buildkit |
| RUN /bin/sh -c pip install 'misaka==1.0.2' # buildkit |
| RUN /bin/sh -c pip install 'cffi==1.14.6' # buildkit |
| RUN /bin/sh -c pip install --upgrade pip # buildkit |
| RUN /bin/sh -c pip install --no-cache-dir --no-build-isolation -r requirements.txt # buildkit |
| RUN /bin/sh -c pip install supervisor # buildkit |
| COPY . . # buildkit |
| ENTRYPOINT ["supervisord" "-n" "-c" "supervisord.conf"] |