try without requirements.txt
This commit is contained in:
parent
0675a634fb
commit
04107d5be5
19
Dockerfile
19
Dockerfile
@ -1,19 +1,18 @@
|
||||
FROM python:3.9.6 AS base
|
||||
LABEL maintainer='Meazure Developers <devs@getyardstick.com>'
|
||||
|
||||
ARG NEXUS_TOKEN
|
||||
ARG NEXUS_USER
|
||||
ARG NEXUS_PASS
|
||||
|
||||
ENV PIP_CONFIG_FILE pip.conf
|
||||
ENV PYTHONPATH /pip
|
||||
ENV NEXUS_TOKEN $NEXUS_TOKEN
|
||||
ENV NEXUS_USER $NEXUS_USER
|
||||
ENV NEXUS_PASS $NEXUS_PASS
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get -y install coinor-cbc
|
||||
|
||||
ARG NEXUS_TOKEN
|
||||
|
||||
# ENV PIP_CONFIG_FILE pip.conf
|
||||
ENV PYTHONPATH /pip
|
||||
ENV NEXUS_TOKEN $NEXUS_TOKEN
|
||||
ENV PIP_DEFAULT_INDEX_URL https://artifact.it.getyardstick.com/repository/meazurelearning-pypi/simple/:_auth=${NEXUS_TOKEN}
|
||||
ENV PIP_DEFAULT_INDEX https://artifact.it.getyardstick.com/repository/meazurelearning-pypi/pypi/:_auth=${NEXUS_TOKEN}
|
||||
ENV PIP_DEFAULT_TARGET /pip
|
||||
|
||||
RUN mkdir /app
|
||||
WORKDIR /app
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user