@leverege/build-tools 2.80.1-beta.1 → 2.80.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -31,6 +31,8 @@ RUN mkdir -p /home/{{runuser}}/.config/pip && \
|
|
|
31
31
|
echo "[global]" >> /home/{{runuser}}/.config/pip/pip.conf && \
|
|
32
32
|
echo "break-system-packages = true" >> /home/{{runuser}}/.config/pip/pip.conf
|
|
33
33
|
|
|
34
|
+
COPY --chown=python:python ./workspace/.python-version /usr/src/app/
|
|
35
|
+
|
|
34
36
|
# Set up venv and keyring tools before app copy
|
|
35
37
|
RUN uv venv && \
|
|
36
38
|
uv tool install keyring --with keyrings.google-artifactregistry-auth
|
|
@@ -39,11 +41,9 @@ RUN uv venv && \
|
|
|
39
41
|
{{preInstallPluginfile}}
|
|
40
42
|
|
|
41
43
|
# Sync dependencies
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
--mount=type=bind,source=./workspace/.python-version,target=/usr/src/app/.python-version \
|
|
46
|
-
uv sync --locked --no-install-project
|
|
44
|
+
COPY --chown=python:python ./workspace/requirements.txt /usr/src/app/requirements.txt
|
|
45
|
+
RUN uv pip install --extra-index-url https://oauth2accesstoken@us-python.pkg.dev/leverege-registry/leverege-python-packages/simple --keyring-provider subprocess -r requirements.txt
|
|
46
|
+
|
|
47
47
|
|
|
48
48
|
# Copy application source AFTER venv + tool setup
|
|
49
49
|
COPY --chown={{runuser}}:{{runuser}} ./workspace/ /usr/src/app/
|