hopefully make autobuild possible

This commit is contained in:
kittentm 2026-02-28 00:48:38 +01:00
commit 032a450455
3 changed files with 76 additions and 0 deletions

21
dockerfile Normal file
View file

@ -0,0 +1,21 @@
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"]