Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
zzstoatzz committed Feb 13, 2025
1 parent 72d6d43 commit dd73214
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions old-sqlite.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ RUN uv build --sdist --wheel --out-dir dist && \

# Final image
FROM python:3.9-slim
COPY --from=python-builder /bin/uv /bin/uv

# Accept SQLite version as build argument
ARG SQLITE_VERSION="3310100"
Expand All @@ -40,7 +39,6 @@ RUN wget https://www.sqlite.org/${SQLITE_YEAR}/sqlite-autoconf-${SQLITE_VERSION}
&& ./configure \
&& make \
&& make install \
&& ldconfig \
&& cd .. \
&& rm -rf sqlite-autoconf-${SQLITE_VERSION}*

Expand All @@ -51,10 +49,15 @@ ENV LD_LIBRARY_PATH=/usr/local/lib

WORKDIR /app

# Copy the built distributable
# Copy UV and built artifacts
COPY --from=python-builder /bin/uv /bin/uv
COPY --from=python-builder /opt/prefect/dist/prefect.tar.gz ./dist/
COPY pyproject.toml ./
COPY .git ./
COPY README.md ./

# Install requirements and Prefect
RUN uv pip install .
RUN uv pip install ./dist/prefect.tar.gz


2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=65.6.3", "wheel"]
requires = ["setuptools>=65.6.3"]
build-backend = "setuptools.build_meta"

[project]
Expand Down

0 comments on commit dd73214

Please sign in to comment.