diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index da0aff2..67a32d6 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -18,6 +18,10 @@ jobs: name: Build image runs-on: ubuntu-latest steps: + - name: Remove unnecessary files + run: | + sudo rm -rf /usr/share/dotnet + sudo rm -rf "$AGENT_TOOLSDIRECTORY" - name: Checkout uses: actions/checkout@v4 - name: Log in to the Container registry @@ -41,6 +45,6 @@ jobs: - name: Git LFS Pull run: git lfs pull - name: Build image - run: make build + run: docker compose build api - name: Push image - run: make push + run: docker compose push api diff --git a/docker-compose.yaml b/docker-compose.yaml index 7c26d9a..e37bc84 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -28,6 +28,7 @@ services: image: ghcr.io/josephine-wolf-oberholtzer/praetor:latest ports: - 8000:8000 + shm_size: 256m ulimits: memlock: -1 rtprio: 99