Commit ee0e98ab authored by Sergio Gimenez's avatar Sergio Gimenez
Browse files

Add args to be able to pish the image to the i2cat's container registry

parent 43632fa5
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -40,8 +40,9 @@ RUN apt-get update && apt-get install -y \
# Copy application code
# Copy application code
COPY . .
COPY . .


ARG PIP_INDEX_URL
# Install Python dependencies
# Install Python dependencies
RUN python -m pip install --no-cache-dir -r requirements.txt
RUN python -m pip install --no-cache-dir -r requirements.txt --extra-index-url ${PIP_INDEX_URL} --trusted-host gitlab.i2cat.net


# Set working directory for application execution
# Set working directory for application execution
WORKDIR /usr/app/src/
WORKDIR /usr/app/src/