Retry build with new buildx release and dockerfile changes
This commit is contained in:
@@ -32,8 +32,8 @@ jobs:
|
|||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.vpn.cusano.net # replace it with your local IP
|
registry: git.vpn.cusano.net # replace it with your local IP
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.GIT_REPO_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.GIT_REPO_PASSWORD }}
|
||||||
|
|
||||||
- name: Get Meta
|
- name: Get Meta
|
||||||
id: meta
|
id: meta
|
||||||
@@ -52,7 +52,7 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
platforms: |
|
platforms: |
|
||||||
linux/amd64
|
linux/arm4
|
||||||
push: true
|
push: true
|
||||||
tags: | # replace it with your local IP and tags
|
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 }}
|
git.vpn.cusano.net/${{ vars.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}/${{ env.CONTAINER_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
|
||||||
@@ -6,7 +6,7 @@ ENV DEBIAN_FRONTEND=noninteractive
|
|||||||
|
|
||||||
# Install system dependencies
|
# Install system dependencies
|
||||||
RUN apt-get update && \
|
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 \
|
apt-get install -y --no-install-recommends git \
|
||||||
curl \
|
curl \
|
||||||
python3 \
|
python3 \
|
||||||
@@ -63,8 +63,5 @@ WORKDIR /app
|
|||||||
# Copy the rest of the directory contents into the container at /app
|
# Copy the rest of the directory contents into the container at /app
|
||||||
COPY ./app /app
|
COPY ./app /app
|
||||||
|
|
||||||
# Copy the pre-built opus libraries
|
|
||||||
COPY ./opus /app/opus
|
|
||||||
|
|
||||||
# Run the node script
|
# 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"]
|
||||||
Reference in New Issue
Block a user