代码拉取完成,页面将自动刷新
# The image built from this Dockerfile will include the test dependencies,
# and can be used for running the project's unit tests from within a container.
# Use via the `make build-testing-image` and `make docker-testing-shell` Makefile targets.
#
# Try, for example, running `make docker-testing-shell` and then
# `cd label_studio && DJANGO_DB=sqlite pytest .` from within the container.
FROM heartexlabs/label-studio:latest
USER 0
# Copy and install test dependencies
COPY --chown=1001:0 pyproject.toml .
COPY --chown=1001:0 poetry.lock .
RUN --mount=type=cache,target=$PIP_CACHE_DIR,uid=1001,gid=0 \
poetry check --lock && POETRY_VIRTUALENVS_CREATE=false poetry install --only test
USER 1001
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。