Init Python test
All checks were successful
Build and Push AI Image / build-and-push (push) Successful in 43s
All checks were successful
Build and Push AI Image / build-and-push (push) Successful in 43s
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user