novelai-bot/src/Dockerfile
wirehack7 a00f583b62
Some checks failed
Code Quality Check / quality-check (pull_request) Failing after 24s
Safety Check / safety-check (pull_request) Successful in -2s
initial commit
2025-05-01 12:07:20 +02:00

15 lines
267 B
Docker

FROM python:3.13.3-slim
WORKDIR /app
RUN apt-get update && apt-get install -y \
build-essential \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "main.py"]