Retry build with new buildx release and dockerfile changes
Some checks failed
Lint / lint (push) Failing after 20s
release-tag / release-image (push) Failing after 20s

This commit is contained in:
Logan Cusano
2025-03-01 01:02:53 -05:00
parent 7362715a21
commit 50b11efd80
2 changed files with 5 additions and 8 deletions

View File

@@ -32,8 +32,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: git.vpn.cusano.net # replace it with your local IP
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
username: ${{ secrets.GIT_REPO_USERNAME }}
password: ${{ secrets.GIT_REPO_PASSWORD }}
- name: Get Meta
id: meta
@@ -52,7 +52,7 @@ jobs:
context: .
file: ./Dockerfile
platforms: |
linux/amd64
linux/arm4
push: true
tags: | # replace it with your local IP and tags
git.vpn.cusano.net/${{ vars.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}/${{ env.CONTAINER_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}

View File

@@ -6,7 +6,7 @@ ENV DEBIAN_FRONTEND=noninteractive
# Install system dependencies
RUN apt-get update && \
apt-get install -y --no-install-recommends libc-bin apt-transport-https && \
apt-get install -y --no-install-recommends libc-bin apt-transport-https tzdata && \
apt-get install -y --no-install-recommends git \
curl \
python3 \
@@ -63,8 +63,5 @@ WORKDIR /app
# Copy the rest of the directory contents into the container at /app
COPY ./app /app
# Copy the pre-built opus libraries
COPY ./opus /app/opus
# Run the node script
ENTRYPOINT ["uvicorn", "bot:app", "--host", "0.0.0.0", "--port", "8001", "--reload"]
ENTRYPOINT ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8001", "--reload"]