replace requirements base for cache, notify
This commit is contained in:
parent
309392511a
commit
d3240a5063
@ -17,8 +17,7 @@ RUN apt-get update && \
|
|||||||
|
|
||||||
# Copy shared requirements from top of mono-repo
|
# Copy shared requirements from top of mono-repo
|
||||||
RUN echo "copying root req file ${root_requirement_file}"
|
RUN echo "copying root req file ${root_requirement_file}"
|
||||||
COPY $root_requirement_file .
|
RUN pip install $pip_extra_index_url_flag cic-base[full_graph]==0.1.2a44
|
||||||
RUN pip install -r $root_requirement_file $pip_extra_index_url_flag
|
|
||||||
|
|
||||||
COPY cic-cache/requirements.txt ./
|
COPY cic-cache/requirements.txt ./
|
||||||
COPY cic-cache/setup.cfg \
|
COPY cic-cache/setup.cfg \
|
||||||
|
@ -6,10 +6,7 @@ RUN apt-get update && \
|
|||||||
WORKDIR /usr/src/cic-notify
|
WORKDIR /usr/src/cic-notify
|
||||||
|
|
||||||
ARG pip_extra_index_url_flag='--index https://pypi.org/simple --extra-index-url https://pip.grassrootseconomics.net:8433'
|
ARG pip_extra_index_url_flag='--index https://pypi.org/simple --extra-index-url https://pip.grassrootseconomics.net:8433'
|
||||||
ARG root_requirement_file='requirements.txt'
|
RUN pip install $pip_extra_index_url_flag cic-base[full_graph]==0.1.2a44
|
||||||
RUN echo "copying root req file ${root_requirement_file}"
|
|
||||||
COPY $root_requirement_file .
|
|
||||||
RUN pip install -r $root_requirement_file $pip_extra_index_url_flag
|
|
||||||
|
|
||||||
COPY cic-notify/setup.cfg \
|
COPY cic-notify/setup.cfg \
|
||||||
cic-notify/setup.py \
|
cic-notify/setup.py \
|
||||||
|
Loading…
Reference in New Issue
Block a user