This commit is contained in:
2024-12-04 17:19:46 +01:00
parent af390dd779
commit da8583ab28
36 changed files with 712 additions and 69 deletions

View File

@@ -28,6 +28,20 @@ COPY web .
RUN npm run build
FROM requirements
RUN apt-get update
RUN apt-get install -y wget gnupg
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
RUN echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list
RUN apt-get update
RUN apt-get install -y google-chrome-stable
RUN rm -rf /var/lib/apt/lists/*
COPY ./tools/itb/requirements.txt /root/sia/tools/itb/requirements.txt
RUN cd /root/sia/tools/itb/ && python3 -m pip install -r requirements.txt
COPY ./tools/ /root/sia/tools/
RUN cd /root/sia/tools/itb/ && python3 -m pip install -e ".[dev]"
COPY ./ /root/sia/
COPY --from=web-build /app/dist /root/sia/static/
WORKDIR /root/sia