Skip to content

Commit db44244

Browse files
authored
Merge pull request #78 from NetherlandsForensicInstitute/feature/modify-container-with-build-arg
modify container with build arg to make pushing a containerfile easier
2 parents 6dbba50 + 3e91da6 commit db44244

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
FROM python:3.13
2-
2+
ARG PIP_PYPI_URL=https://pypi.org/simple
33
COPY --parents asmtransformers scripts pyproject.toml pdm.lock README.md /app
44
WORKDIR /app
55
RUN pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org --break-system-packages --root-user-action ignore pdm
66
RUN pdm config pypi.verify_ssl False
7-
RUN pdm install
7+
RUN pdm config pypi.url $PIP_PYPI_URL
8+
RUN pdm install --prod --no-editable
89
CMD ["bash"]

0 commit comments

Comments
 (0)