All checks were successful
Build and Push AI Image / build-and-push (push) Successful in 43s
17 lines
328 B
Docker
17 lines
328 B
Docker
FROM python:3.11-slim
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
curl \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt /app/requirements.txt
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY ai.py /app/ai.py
|
|
|
|
CMD ["python", "ai.py"]
|