ITP WiP
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user