ADD alpine-minirootfs-3.21.3-x86_64.tar.gz / # buildkit |
CMD ["/bin/sh"] |
ENV APP_ENV=/opt/venv |
ENV PATH=/opt/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
ENV PORT=8109 |
/bin/sh -c apk add --no-cache py3-pip uwsgi-python3 && python3 -m venv $APP_ENV |
COPY dir:e5219e0033a3e95429a2a5774cc19c7ed8d7f35803a91eb15705233c80b49620 in /app |
/bin/sh -c $APP_ENV/bin/pip install --no-cache-dir pip && $APP_ENV/bin/pip install /app && adduser -S -D -H wikimore |
COPY file:243fc27824d875764ff4c0362d89eec087f15be04ea8b5d326fef312e25d91c9 in /entrypoint.sh |
/bin/sh -c chmod +x /entrypoint.sh |
EXPOSE 8109 |
USER wikimore |
ENTRYPOINT ["/entrypoint.sh"] |