SplatNet-Backend/dockerfile

22 lines
401 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 \
2026-03-28 03:24:10 +01:00
&& 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/*
2026-02-28 00:48:38 +01:00
WORKDIR /app
COPY . .
2026-03-28 03:24:10 +01:00
RUN cd judd && npm ci
2026-02-28 00:48:38 +01:00
2026-03-28 03:24:10 +01:00
RUN pip install --no-cache-dir .
RUN touch .env
# uses default
EXPOSE 5000
2026-02-28 00:48:38 +01:00
2026-03-28 03:24:10 +01:00
CMD ["splatnet"]