forked from pwgen2155/dawdle
chore: drone-docker-requirements
This commit is contained in:
parent
e6cb475b6d
commit
0d989edf20
11
.drone.yml
Normal file
11
.drone.yml
Normal 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
|
||||
|
|
@ -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
1
requirements.txt
Normal file
|
@ -0,0 +1 @@
|
|||
django uwsgi Pillow
|
Loading…
Reference in a new issue