Removed temporary workarounds
Some checks failed
simplytranslate / build (push) Successful in 27m30s
wolfree / build (push) Failing after 7s
searxng / build-searxng-base (push) Successful in 8s
searxng / build-searxng (push) Failing after 12m57s
rat-aint-tieba / build (push) Failing after 9s
proxigram / build (push) Failing after 8s
priviblur / build (push) Failing after 6s
nitter / build (push) Failing after 8s
imgin / build (push) Failing after 8s
caddy / build (push) Successful in 16m14s
binternet / build (push) Failing after 7s
Some checks failed
simplytranslate / build (push) Successful in 27m30s
wolfree / build (push) Failing after 7s
searxng / build-searxng-base (push) Successful in 8s
searxng / build-searxng (push) Failing after 12m57s
rat-aint-tieba / build (push) Failing after 9s
proxigram / build (push) Failing after 8s
priviblur / build (push) Failing after 6s
nitter / build (push) Failing after 8s
imgin / build (push) Failing after 8s
caddy / build (push) Successful in 16m14s
binternet / build (push) Failing after 7s
This commit is contained in:
parent
16b769b0f0
commit
192c90f008
@ -46,8 +46,6 @@ jobs:
|
|||||||
cd temp
|
cd temp
|
||||||
git clone ${REMOTE_REPO} .
|
git clone ${REMOTE_REPO} .
|
||||||
git checkout no-masters # Use no-masters branch
|
git checkout no-masters # Use no-masters branch
|
||||||
# Workaround to fix Docker build
|
|
||||||
curl -JL https://git.opnxng.com/opnxng/docker-images/raw/branch/main/dockerfiles/rat-aint-tieba.Dockerfile -o Dockerfile
|
|
||||||
docker-buildx build \
|
docker-buildx build \
|
||||||
--platform ${BUILD_PLATFORM} \
|
--platform ${BUILD_PLATFORM} \
|
||||||
-t git.opnxng.com/${{ gitea.repository_owner }}/${REPO_NAME}:latest \
|
-t git.opnxng.com/${{ gitea.repository_owner }}/${REPO_NAME}:latest \
|
||||||
|
@ -45,9 +45,6 @@ jobs:
|
|||||||
mkdir temp
|
mkdir temp
|
||||||
cd temp
|
cd temp
|
||||||
git clone ${REMOTE_REPO} .
|
git clone ${REMOTE_REPO} .
|
||||||
# Temp workaround to upgrade to Docusaurus 3
|
|
||||||
git fetch origin pull/4/head:temp
|
|
||||||
git checkout temp
|
|
||||||
sed -i '/^RUN PATH="$HOME\/.cargo\/bin:$PATH" cargo run --manifest-path \.\/rust\/wolfree_libredirect_patch\/Cargo\.toml -- ;$/s/^#//' Dockerfile # Make Libredirect-compatible
|
sed -i '/^RUN PATH="$HOME\/.cargo\/bin:$PATH" cargo run --manifest-path \.\/rust\/wolfree_libredirect_patch\/Cargo\.toml -- ;$/s/^#//' Dockerfile # Make Libredirect-compatible
|
||||||
docker-buildx build \
|
docker-buildx build \
|
||||||
--platform ${BUILD_PLATFORM} \
|
--platform ${BUILD_PLATFORM} \
|
||||||
|
@ -1,23 +0,0 @@
|
|||||||
# Use the official Python image as the base image
|
|
||||||
FROM python:3.11-slim
|
|
||||||
|
|
||||||
# Install the patch utility
|
|
||||||
RUN apt-get update && apt-get install -y patch
|
|
||||||
|
|
||||||
# Set the working directory to /app
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
# Copy the local requirements.txt file to the container
|
|
||||||
COPY requirements.txt .
|
|
||||||
|
|
||||||
# Install the Python dependencies
|
|
||||||
RUN pip install -r requirements.txt
|
|
||||||
|
|
||||||
# Expose port 8886
|
|
||||||
EXPOSE 8886
|
|
||||||
|
|
||||||
# Copy the local code to the container
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
# Run the Python script with Uvicorn, binding to all available network interfaces
|
|
||||||
CMD ["gunicorn", "app:proxified", "--max-requests", "50", "--worker-class", "uvicorn.workers.UvicornWorker", "-b", "0.0.0.0:8886"]
|
|
Loading…
Reference in New Issue
Block a user