Added a docker file and requirements
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal 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/*
|
||||
@@ -1,3 +1,5 @@
|
||||
# pytest
|
||||
|
||||
[](https://dci.raffbrains.xyz/Custom-Dockers/pytest)
|
||||
|
||||
Create alpine docker container, ready to run pytest with xml support
|
||||
0
requirements.txt
Normal file
0
requirements.txt
Normal file
Reference in New Issue
Block a user