diff --git a/Dockerfile b/Dockerfile index a78982640a..73910a42b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 concurrently@8.2.2 && 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 @@ -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" \ -] + ] diff --git a/apps/website/Dockerfile b/apps/website/Dockerfile index f775b43ebf..0f7a4879bd 100644 --- a/apps/website/Dockerfile +++ b/apps/website/Dockerfile @@ -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