Skip to content

Commit

Permalink
ci: install wget in containers for health-check
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnisDa committed Feb 6, 2025
1 parent 4dfe644 commit 2e3343a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ LABEL org.opencontainers.image.description="The only self hosted tracker you wil
ENV FRONTEND_UMAMI_SCRIPT_URL="https://umami.diptesh.me/script.js"
ENV FRONTEND_UMAMI_WEBSITE_ID="5ecd6915-d542-4fda-aa5f-70f09f04e2e0"
COPY --from=caddy:2.7.5 /usr/bin/caddy /usr/local/bin/caddy
RUN apt-get update && apt-get install -y --no-install-recommends curl libssl3 ca-certificates procps && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y --no-install-recommends wget curl libssl3 ca-certificates procps && rm -rf /var/lib/apt/lists/*
RUN npm install --global [email protected] && concurrently --version
RUN useradd -m -u 1001 ryot
RUN if [ "${TARGETARCH}" = "arm64" ]; then apt-get update && apt-get install -y --no-install-recommends wget && wget http://ftp.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1w-0+deb11u1_arm64.deb && dpkg -i libssl1.1_1.1.1w-0+deb11u1_arm64.deb && rm -rf libssl1.1_1.1.1w-0+deb11u1_arm64.deb && apt-get remove -y wget && rm -rf rm -rf /var/lib/apt/lists/*; fi
Expand All @@ -50,4 +50,4 @@ CMD [ \
"PORT=3000 npx react-router-serve ./build/server/index.js", \
"BACKEND_PORT=5000 /usr/local/bin/backend", \
"caddy run --config /etc/caddy/Caddyfile" \
]
]
1 change: 1 addition & 0 deletions apps/website/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ COPY --from=website-builder --chown=ryot:ryot /app/apps/website/node_modules ./n
COPY --from=website-builder --chown=ryot:ryot /app/apps/website/package.json ./package.json
COPY --from=website-builder --chown=ryot:ryot /app/apps/website/build ./build
COPY --chown=ryot:ryot apps/website/app/drizzle/migrations app/drizzle/migrations
RUN apt-get update && apt-get install -y --no-install-recommends wget && rm -rf /var/lib/apt/lists/*
CMD npx react-router-serve ./build/server/index.js

0 comments on commit 2e3343a

Please sign in to comment.