Skip to content

Commit

Permalink
Remove image name from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wesselb committed Jan 13, 2025
1 parent 6fe52d1 commit b08d8b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
11 changes: 6 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,19 @@ docs:
cp -r docs/_extras/* docs/_build/html/

docker-requirements: pyproject.toml
(pip show pip-tools 1>/dev/null) || pip install pip-tools
@(pip show pip-tools 1>/dev/null) || pip install pip-tools
pip-compile --verbose --output-file _docker_requirements.txt pyproject.toml

docker:
(pip show setuptools-scm 1>/dev/null) || pip install setuptools-scm
@(pip show setuptools-scm 1>/dev/null) || pip install setuptools-scm
AURORA_REPO_VERSION=`python -m setuptools_scm` docker build --build-arg AURORA_REPO_VERSION -t $(DOCKER_WS).azurecr.io/$(DOCKER_IMAGE) .
@echo "Successfully built Docker image: $(DOCKER_WS).azurecr.io/$(DOCKER_IMAGE)"

docker-acr:
(pip show setuptools-scm 1>/dev/null) || pip install setuptools-scm
[ ! -z "$(ACR)" ]
@(pip show setuptools-scm 1>/dev/null) || pip install setuptools-scm
@[ ! -z "$(ACR)" ]
AURORA_REPO_VERSION=`python -m setuptools_scm` az acr build --build-arg AURORA_REPO_VERSION -r "$(ACR)" -t $(DOCKER_IMAGE) .

swagger-file:
pip install fastapi
@(pip show fastapi 1>/dev/null) || pip install fastapi
python aurora/foundry/server/generate_swagger.py aurora/foundry/server/swagger3.json
3 changes: 1 addition & 2 deletions docs/foundry/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ Build the Docker image:
make docker
```

The resulting image will be tagged as `aurora-foundry:latest`.
Upload this image to Azure AI foundry.
Upload the resulting image to Azure AI foundry.

Building the Docker image depends on a list of precompiled dependencies.
If you change the requirements in `pyproject.toml`, this list must be updated:
Expand Down

0 comments on commit b08d8b0

Please sign in to comment.