We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1deb0c9 commit 2c626fdCopy full SHA for 2c626fd
1 file changed
Dockerfile
@@ -100,10 +100,12 @@ ENV PATH="/opt/python_venv/bin:${PATH}"
100
# Copy application code
101
COPY --from=download-sd-scripts /opt/sd-scripts /opt/sd-scripts
102
103
-# Pre-compile Python bytecode
+# Install project and Pre-compile Python bytecode
104
RUN <<EOF
105
cd /opt/sd-scripts
106
107
+ UV_PROJECT_ENVIRONMENT="/opt/python_venv" uv pip install --editable .
108
+
109
python -m compileall .
110
EOF
111
0 commit comments