Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- git+https://username:password@gitlab.mycompany.com/mypackage.git@master#egg=mypackage
- FROM python:3.7-alpine as base
- COPY . /app
- WORKDIR /app
- FROM base AS dependencies
- COPY requirements.txt ./
- RUN apk add --no-cache make automake gcc g++ git &&
- pip install -r requirements.txt
- FROM base
- WORKDIR /app
- COPY . /app
- COPY --from=dependencies /root/.cache /root/.cache
- COPY requirements.txt ./
- RUN pip install -r requirements.txt && rm -rf /root/.cache
- EXPOSE 8000
- CMD python main.py
- Error [Errno 2] No such file or directory: 'git': 'git' while executing command git clone -q Cannot find command 'git' - do you have 'git' installed and in your PATH?
Add Comment
Please, Sign In to add comment