| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c53e695 commit 4ef94c8
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,16 +3,16 @@ FROM python:3.12-${PYTHON_FLAVOR} AS build | |||
| 3 | 3 | ||
| 4 | 4 | WORKDIR /opt/python-gitlab | |
| 5 | 5 | COPY . . | |
| 6 | - RUN pip install build && python -m build | ||
| 6 | + RUN pip install --no-cache-dir build && python -m build --wheel | ||
| 7 | 7 | ||
| 8 | 8 | FROM python:3.12-${PYTHON_FLAVOR} | |
| 9 | 9 | ||
| 10 | 10 | LABEL org.opencontainers.image.source="https://github.com/python-gitlab/python-gitlab" | |
| 11 | 11 | ||
| 12 | 12 | WORKDIR /opt/python-gitlab | |
| 13 | 13 | COPY --from=build /opt/python-gitlab/dist dist/ | |
| 14 | - RUN pip install PyYaml | ||
| 15 | - RUN pip install $(find dist -name *.whl) && \ | ||
| 14 | + RUN pip install --no-cache-dir PyYaml | ||
| 15 | + RUN pip install --no-cache-dir $(find dist -name *.whl) && \ | ||
| 16 | 16 | rm -rf dist/ | |
| 17 | 17 | ||
| 18 | 18 | ENTRYPOINT ["gitlab"] | |
| Back | FazBrowse Home | New Git URL |
0 commit comments