2026-04-22 02:03:29 +00:00
|
|
|
FROM python:3.14-slim
|
2026-02-28 00:48:38 +01:00
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
2026-03-28 04:32:20 +01:00
|
|
|
COPY judd/package.json judd/package-lock.json ./judd/
|
2026-02-28 00:48:38 +01:00
|
|
|
|
2026-03-28 03:24:10 +01:00
|
|
|
RUN cd judd && npm ci
|
2026-02-28 00:48:38 +01:00
|
|
|
|
2026-03-28 04:32:20 +01:00
|
|
|
COPY . .
|
|
|
|
|
|
2026-03-28 03:26:00 +01:00
|
|
|
RUN pip install --no-cache-dir . -v
|
2026-03-28 03:24:10 +01:00
|
|
|
|
|
|
|
|
RUN touch .env
|
|
|
|
|
|
|
|
|
|
EXPOSE 5000
|
2026-02-28 00:48:38 +01:00
|
|
|
|
2026-03-28 03:24:10 +01:00
|
|
|
CMD ["splatnet"]
|