All checks were successful
continuous-integration/drone/push Build is passing
17 lines
428 B
YAML
17 lines
428 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build and test
|
|
image: python:3.9-slim
|
|
commands:
|
|
- pip install --no-cache-dir -r requirements.txt
|
|
- python app.py & # Run the Flask app in the background
|
|
- sleep 10 # Optional: Wait for the Flask app to start before continuing (you can adjust or remove this depending on the app's startup time)
|
|
|
|
trigger:
|
|
branch:
|
|
- master
|