Added a docker file and requirements

This commit is contained in:
2022-06-17 10:15:58 +02:00
parent 2a0fc69497
commit 3a5f9ce8c3
3 changed files with 16 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM python:3.8-alpine
RUN set -eux; \
apk --no-cache add --virtual build-dependencies gcc musl-dev \
libffi-dev \
libxml2-dev \
libxslt-dev \
openssl-dev \
unzip curl && \
apk add --no-cache libpq-dev; \
pip install -U pip; \
pip install -r requirements.txt && \
apk del --purge build-dependencies gcc; \
rm -rf /var/cache/apk/*

View File

@@ -1,3 +1,5 @@
# pytest
[![Build Status](https://dci.raffbrains.xyz/api/badges/Custom-Dockers/pytest/status.svg)](https://dci.raffbrains.xyz/Custom-Dockers/pytest)
Create alpine docker container, ready to run pytest with xml support

0
requirements.txt Normal file
View File