From 04107d5be525fd31012e4f57945f62abdd836844 Mon Sep 17 00:00:00 2001 From: brmnjsh Date: Thu, 30 Nov 2023 02:41:59 +0000 Subject: [PATCH] try without requirements.txt --- Dockerfile | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 64b0312..bdac2df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,19 +1,18 @@ FROM python:3.9.6 AS base LABEL maintainer='Meazure Developers ' -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