14 lines
327 B
Docker
14 lines
327 B
Docker
FROM python:3.12-slim
|
|
|
|
# Install docker compose CLI so the app can control other stacks
|
|
RUN apt-get update && apt-get install -y curl && \
|
|
curl -fsSL https://get.docker.com | sh && \
|
|
pip install flask && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
COPY app.py .
|
|
COPY templates/ templates/
|
|
|
|
CMD ["python", "app.py"]
|