We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6dbba50 + 3e91da6 commit db44244Copy full SHA for db44244
1 file changed
asmtransformers/pretrain.Containerfile
@@ -1,8 +1,9 @@
1
FROM python:3.13
2
-
+ARG PIP_PYPI_URL=https://pypi.org/simple
3
COPY --parents asmtransformers scripts pyproject.toml pdm.lock README.md /app
4
WORKDIR /app
5
RUN pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org --break-system-packages --root-user-action ignore pdm
6
RUN pdm config pypi.verify_ssl False
7
-RUN pdm install
+RUN pdm config pypi.url $PIP_PYPI_URL
8
+RUN pdm install --prod --no-editable
9
CMD ["bash"]
0 commit comments