diff --git a/ibis-server/Dockerfile b/ibis-server/Dockerfile index f4af07cf6..755a87f60 100644 --- a/ibis-server/Dockerfile +++ b/ibis-server/Dockerfile @@ -3,10 +3,9 @@ FROM python:3.11-buster AS builder # libpq-dev is required for psycopg2 RUN apt-get update && apt-get -y install libpq-dev -# TODO: enable rust after fix the issue with the build # Install rust -# RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y -# ENV PATH="/root/.cargo/bin:$PATH" +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y +ENV PATH="/root/.cargo/bin:$PATH" # Install justfile RUN curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/bin @@ -25,15 +24,12 @@ ENV PYTHONUNBUFFERED=1 \ RUN pip install poetry==1.8.3 -# TODO: enable rust after fix the issue with the build -# COPY --from=wren-modeling-py . /wren-modeling-py -# COPY --from=wren-modeling-rs . /wren-modeling-rs +COPY --from=wren-modeling-py . /wren-modeling-py +COPY --from=wren-modeling-rs . /wren-modeling-rs WORKDIR /app COPY . . -# TODO: enable rust after fix the issue with the build -# RUN just install --without dev -RUN poetry install --without dev +RUN just install --without dev FROM python:3.11-slim-buster AS runtime