diff --git a/go.mod b/go.mod index 14a370d..f76a664 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ toolchain go1.23.2 require ( github.com/caarlos0/env/v11 v11.2.2 github.com/cloudflare/backoff v0.0.0-20240920015135-e46b80a3a7d0 - github.com/saladtechnologies/salad-cloud-imds-sdk-go v0.9.0-alpha.3 + github.com/saladtechnologies/salad-cloud-imds-sdk-go v0.9.0-alpha.4 github.com/testcontainers/testcontainers-go v0.33.0 google.golang.org/grpc v1.67.1 google.golang.org/protobuf v1.34.2 diff --git a/go.sum b/go.sum index 3b48ae1..3a76d4d 100644 --- a/go.sum +++ b/go.sum @@ -83,8 +83,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 h1:o4JXh1EVt9k/+g42oCprj/FisM4qX9L3sZB3upGN2ZU= github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= -github.com/saladtechnologies/salad-cloud-imds-sdk-go v0.9.0-alpha.3 h1:u/M68m3X+FpRvgpgl1j9XQtYB5vKtFYeWb9XfZL4rX4= -github.com/saladtechnologies/salad-cloud-imds-sdk-go v0.9.0-alpha.3/go.mod h1:5jPveSnoEJs/4LsR9Gu/eFtIvKN9ymXoZA1L7jxw88Q= +github.com/saladtechnologies/salad-cloud-imds-sdk-go v0.9.0-alpha.4 h1:mZ+0ar04bCTicz7ZGRRJ5za8k8PcveXLsRCcyd7kzoY= +github.com/saladtechnologies/salad-cloud-imds-sdk-go v0.9.0-alpha.4/go.mod h1:5jPveSnoEJs/4LsR9Gu/eFtIvKN9ymXoZA1L7jxw88Q= github.com/shirou/gopsutil/v3 v3.24.5 h1:i0t8kL+kQTvpAYToeuiVk3TgDeKOFioZO3Ztz/iZ9pI= github.com/shirou/gopsutil/v3 v3.24.5/go.mod h1:bsoOS1aStSs9ErQ1WWfxllSeS1K5D+U30r2NfcubMVk= github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFtM= diff --git a/samples/mandelbrot/base/Dockerfile b/samples/mandelbrot/base/Dockerfile index a7538dc..a47d544 100644 --- a/samples/mandelbrot/base/Dockerfile +++ b/samples/mandelbrot/base/Dockerfile @@ -8,4 +8,4 @@ WORKDIR /app COPY ./requirements.txt *.py ./ RUN pip install --no-cache-dir -r /app/requirements.txt -CMD ["uvicorn", "main:app", "--host", "*", "--port", "80"] +CMD ["fastapi", "run", "/app/main.py", "--host", "*", "--port", "80"] diff --git a/samples/mandelbrot/base/requirements.txt b/samples/mandelbrot/base/requirements.txt index f063fdc..b7f7c4f 100644 --- a/samples/mandelbrot/base/requirements.txt +++ b/samples/mandelbrot/base/requirements.txt @@ -1,2 +1,2 @@ -fastapi==0.115.0 +fastapi[standard]==0.115.0 matplotlib==3.9.2