fixed dockerfile for unsupported options in pip
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -4,7 +4,7 @@ FROM base as builder
|
|||||||
RUN mkdir /install
|
RUN mkdir /install
|
||||||
WORKDIR /install
|
WORKDIR /install
|
||||||
COPY requirements.txt /requirements.txt
|
COPY requirements.txt /requirements.txt
|
||||||
RUN pip install --install-option="--prefix=/install" -r /requirements.txt
|
RUN pip install --prefix=/install -r /requirements.txt
|
||||||
|
|
||||||
FROM base
|
FROM base
|
||||||
COPY --from=builder /install /usr/local
|
COPY --from=builder /install /usr/local
|
||||||
@@ -14,4 +14,4 @@ WORKDIR /home/appuser
|
|||||||
USER appuser
|
USER appuser
|
||||||
|
|
||||||
COPY bibcheck.py ./
|
COPY bibcheck.py ./
|
||||||
CMD ["python", "./bibcheck.py"]
|
CMD ["python", "./bibcheck.py"]
|
||||||
|
|||||||
Reference in New Issue
Block a user