Skip to content

Commit c7ded4c

Browse files
Add rust dependency to docker build (#885)
1 parent 358561f commit c7ded4c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN pip install uv
88

99
# Install system dependencies and necessary runtime libraries
1010
RUN apt-get update && apt-get install -y \
11-
curl gnupg iputils-ping telnet traceroute dnsutils net-tools wget \
11+
curl build-essential gnupg iputils-ping telnet traceroute dnsutils net-tools wget \
1212
librocksdb-dev libgflags-dev libsnappy-dev zlib1g-dev \
1313
libbz2-dev liblz4-dev libzstd-dev libssl-dev ca-certificates libspatialindex-dev libpq5 && \
1414
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
@@ -18,6 +18,9 @@ RUN apt-get update && apt-get install -y \
1818
apt-get clean && \
1919
rm -rf /var/lib/apt/lists/*
2020

21+
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
22+
ENV PATH="/root/.cargo/bin:${PATH}"
23+
2124
# Stage 2: Python dependencies
2225
FROM base AS python-deps
2326
COPY ./backend/python/pyproject.toml /app/python/
@@ -213,4 +216,4 @@ RUN chmod +x /app/process_monitor.sh
213216
EXPOSE 3000 8000 8088 8091 8081
214217

215218
# Use the process monitor as the main process
216-
CMD ["/app/process_monitor.sh"]
219+
CMD ["/app/process_monitor.sh"]

0 commit comments

Comments
 (0)