uv lock and Dockerfile fix

This commit is contained in:
Zeecka
2026-02-21 01:07:17 +01:00
parent 00c5ce4fe4
commit 7e85ed3e14
2 changed files with 923 additions and 3 deletions
+4 -3
View File
@@ -73,11 +73,12 @@ RUN dpkg -i /tmp/openstego.deb || apt-get install -f -y --no-install-recommends
&& rm -rf /var/lib/apt/lists/*
# Copy Python package metadata and app
COPY pyproject.toml README.md /app/
COPY aperisolve/ /app/aperisolve/
COPY pyproject.toml uv.lock ./
COPY aperisolve/ ./aperisolve/
# Install Python dependencies from pyproject.toml
RUN uv pip install --system --no-cache /app
RUN uv sync --frozen --no-dev
ENV PATH="/app/.venv/bin:$PATH"
# Copy jphide and jsteg binaries
COPY --from=builder /usr/local/bin/jphide /usr/local/bin/jphide