Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 162 for REQUIREMENTS (0.11 sec)

  1. ci/official/requirements_updater/BUILD.bazel

    load("@python_version_repo//:py_version.bzl", "REQUIREMENTS")
    
    compile_pip_requirements(
        name = "requirements",
        extra_args = [
            "--allow-unsafe",
            "--build-isolation",
            "--rebuild",
        ],
        generate_hashes = True,
        requirements_in = "requirements.in",
        requirements_txt = REQUIREMENTS,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Jun 29 00:19:18 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. docs/pt/docs/deployment/docker.md

    ```
    .
    ├── Dockerfile
    ├── main.py
    └── requirements.txt
    ```
    
    Então você só teria que alterar os caminhos correspondentes para copiar o arquivo dentro do `Dockerfile`:
    
    ```{ .dockerfile .annotate hl_lines="10  13" }
    FROM python:3.9
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)
    COPY ./main.py /code/
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  3. .github/workflows/smokeshow.yml

          - name: Setup uv
            uses: astral-sh/setup-uv@v3
            with:
              version: "0.4.15"
              enable-cache: true
              cache-dependency-glob: |
                requirements**.txt
                pyproject.toml
          - run: uv pip install -r requirements-github-actions.txt
          - uses: actions/download-artifact@v4
            with:
              name: coverage-html
              path: htmlcov
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 13:47:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. docs/ru/docs/deployment/docker.md

    ```
    .
    ├── Dockerfile
    ├── main.py
    └── requirements.txt
    ```
    
    Вам нужно изменить в `Dockerfile` соответствующие пути копирования файлов:
    
    ```{ .dockerfile .annotate hl_lines="10  13" }
    FROM python:3.9
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)
    COPY ./main.py /code/
    
    # (2)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java

        /**
         * Let the toolchain decide if it matches requirements defined
         * in the toolchain plugin configuration.
         *
         * @param requirements key value pair, may not be {@code null}
         * @return {@code true} if the requirements match, otherwise {@code false}
         */
        boolean matchesRequirements(Map<String, String> requirements);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. docs/en/docs/deployment/docker.md

    * Using a cloud service that would run a container image for you, etc.
    
    ### Package Requirements
    
    You would normally have the **package requirements** for your application in some file.
    
    It would depend mainly on the tool you use to **install** those requirements.
    
    The most common way to do it is to have a file `requirements.txt` with the package names and their versions, one per line.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Sep 18 16:09:57 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  7. docs/de/docs/deployment/docker.md

    ```
    .
    ├── Dockerfile
    ├── main.py
    └── requirements.txt
    ```
    
    Dann müssten Sie nur noch die entsprechenden Pfade ändern, um die Datei im `Dockerfile` zu kopieren:
    
    ```{ .dockerfile .annotate hl_lines="10  13" }
    FROM python:3.9
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)
    COPY ./main.py /code/
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 39K bytes
    - Viewed (0)
  8. .github/workflows/test.yml

            uses: astral-sh/setup-uv@v3
            with:
              version: "0.4.15"
              enable-cache: true
              cache-dependency-glob: |
                requirements**.txt
                pyproject.toml
          - name: Install Dependencies
            run: uv pip install -r requirements-tests.txt
          - name: Install Pydantic v2
            run: uv pip install --upgrade "pydantic>=2.0.2,<3.0.0"
          - name: Lint
            run: bash scripts/lint.sh
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 12:27:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. docs/zh/docs/deployment/docker.md

    # (2)
    WORKDIR /code
    
    # (3)
    COPY ./requirements.txt /code/requirements.txt
    
    # (4)
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (5)
    COPY ./app /code/app
    
    # (6)
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. 从官方Python基础镜像开始。
    
    2. 将当前工作目录设置为`/code`。
    
         这是我们放置`requirements.txt`文件和`app`目录的位置。
    
    3. 将符合要求的文件复制到`/code`目录中。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainManager.java

        public List<Toolchain> getToolchains(Session session, String type, Map<String, String> requirements)
                throws ToolchainManagerException {
            MavenSession s = InternalMavenSession.from(session).getMavenSession();
            List<org.apache.maven.toolchain.Toolchain> toolchains =
                    toolchainManagerPrivate.getToolchains(s, type, requirements);
            return new MappedList<>(toolchains, this::toToolchain);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top