| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:3f78aa860931e0853077f09eb31eddbeeef8a9dd70977305b4876aa176770721 in / |
| CMD ["/bin/bash"] |
| ENV APP_UID=1654 ASPNETCORE_HTTP_PORTS=8080 DOTNET_RUNNING_IN_CONTAINER=true |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates libc6 libgcc-s1 libicu74 libssl3t64 libstdc++6 tzdata tzdata-legacy && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c groupadd --gid=$APP_UID app && useradd --no-log-init --uid=$APP_UID --gid=$APP_UID --create-home app # buildkit |
| ENV DOTNET_VERSION=10.0.3 |
| COPY /dotnet /usr/share/dotnet # buildkit |
| RUN /bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit |
| RUN /bin/sh -c apt-get update && apt-get install -y tini ffmpeg supervisor xvfb x11vnc novnc npm && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c npx playwright install-deps # buildkit |
| RUN /bin/sh -c apt-get remove --purge -y npm && apt-get autoremove -y # buildkit |
| RUN /bin/sh -c echo "<!DOCTYPE html><html><head><meta http-equiv=\"Refresh\" content=\"0; url='vnc.html'\" /></head><body></body></html>" > /usr/share/novnc/index.html # buildkit |
| RUN /bin/sh -c mkdir /data /config /config/logs /default-config # buildkit |
| COPY /src/out /app # buildkit |
| COPY /src/config.conf /default-config # buildkit |
| COPY /src/OF DL/rules.json /default-config # buildkit |
| COPY docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf # buildkit |
| COPY docker/entrypoint.sh /app/entrypoint.sh # buildkit |
| RUN /bin/sh -c chmod +x /app/entrypoint.sh # buildkit |
| ENV DEBIAN_FRONTEND=noninteractive DISPLAY=:0.0 DISPLAY_WIDTH=1366 DISPLAY_HEIGHT=768 OFDL_DOCKER=true PLAYWRIGHT_BROWSERS_PATH=/config/chromium |
| EXPOSE [8080/tcp] |
| WORKDIR /config |
| ENTRYPOINT ["/usr/bin/tini" "--"] |
| CMD ["/app/entrypoint.sh"] |