add Dockerfile
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
FROM python:3.12-slim
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends docker.io \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
WORKDIR /app
|
||||
RUN pip install --no-cache-dir flask requests
|
||||
COPY app.py .
|
||||
CMD ["python", "app.py"]
|
||||
Reference in New Issue
Block a user