| 12345678910111213141516171819202122232425262728 | FROM langgenius/base:1.0.0-bullseye-slim as langgenius-apiLABEL maintainer="takatost@gmail.com"ENV FLASK_APP app.pyENV EDITION SELF_HOSTEDENV DEPLOY_ENV PRODUCTIONENV CONSOLE_URL http://127.0.0.1:5001ENV API_URL http://127.0.0.1:5001ENV APP_URL http://127.0.0.1:5001EXPOSE 5001WORKDIR /app/apiCOPY requirements.txt /app/api/requirements.txtRUN pip install -r requirements.txtCOPY . /app/api/COPY docker/entrypoint.sh /entrypoint.shRUN chmod +x /entrypoint.shARG COMMIT_SHAENV COMMIT_SHA ${COMMIT_SHA}ENTRYPOINT ["/entrypoint.sh"]
 |