fix: add node and curl dependencies to backend docker image

This commit is contained in:
anoracleofra-code
2026-03-09 05:41:43 -06:00
parent 4c846bf805
commit b04b6908c2
2 changed files with 14 additions and 0 deletions
+7
View File
@@ -2,6 +2,13 @@ FROM python:3.10-slim
WORKDIR /app
# Install Node.js (for AIS WebSocket proxy) and curl (for network fallback)
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install -y --no-install-recommends nodejs \
&& rm -rf /var/lib/apt/lists/*
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt