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
+7
View File
@@ -10,6 +10,7 @@
"dependencies": {
"@mapbox/point-geometry": "^1.1.0",
"framer-motion": "^12.34.3",
"hls.js": "^1.6.15",
"lucide-react": "^0.575.0",
"maplibre-gl": "^4.7.1",
"next": "16.1.6",
@@ -4321,6 +4322,12 @@
"hermes-estree": "0.25.1"
}
},
"node_modules/hls.js": {
"version": "1.6.15",
"resolved": "https://registry.npmjs.org/hls.js/-/hls.js-1.6.15.tgz",
"integrity": "sha512-E3a5VwgXimGHwpRGV+WxRTKeSp2DW5DI5MWv34ulL3t5UNmyJWCQ1KmLEHbYzcfThfXG8amBL+fCYPneGHC4VA==",
"license": "Apache-2.0"
},
"node_modules/ieee754": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",