SplatNet-Backend/dockerfile

21 lines
421 B
Text
Raw Normal View History

2026-02-28 00:48:38 +01:00
FROM python:3.11-slim
RUN apt-get update && apt-get install -y curl build-essential \
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install -y nodejs \
&& npm install -g npm@latest \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
WORKDIR /app/judd
RUN npm ci
WORKDIR /app
CMD ["python", "main.py"]