work on a different workflow just for requirements
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
FROM gitea.tryton.geeraert.eu/pi-ux-ce/python:3
|
||||
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
WORKDIR /code/
|
||||
|
||||
# Copy only the requirements file first (Changes infrequently)
|
||||
COPY requirements.txt ./
|
||||
|
||||
|
||||
RUN --mount=type=cache,target=/root/.cache/pip pip install --upgrade pip
|
||||
RUN --mount=type=cache,target=/root/.cache/pip pip list --outdated
|
||||
RUN --mount=type=cache,target=/root/.cache/pip pip install --upgrade wheel
|
||||
RUN --mount=type=cache,target=/root/.cache/pip pip install --upgrade setuptools
|
||||
RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt
|
||||
|
||||
Reference in New Issue
Block a user