chore: drone-docker-requirements

This commit is contained in:
pwgen2155 2024-02-28 16:32:08 +11:00
parent e6cb475b6d
commit 0d989edf20
3 changed files with 14 additions and 1 deletions

11
.drone.yml Normal file
View file

@ -0,0 +1,11 @@
kind: pipeline
name: test
type: docker
steps:
- name: test
image: python:3.11
commands:
- pip install -r requirements.txt
- pytest

View file

@ -1,6 +1,7 @@
FROM python:3.11
RUN pip install --no-cache-dir django uwsgi Pillow
COPY requirements.txt /data/
RUN pip install --no-cache-dir /data/requirements.txt
VOLUME /data

1
requirements.txt Normal file
View file

@ -0,0 +1 @@
django uwsgi Pillow