Add initial Dockerfile

This commit is contained in:
Nico Schottelius 2021-12-05 10:07:14 +01:00
parent 5f4b10cb82
commit 71fce1242e
1 changed files with 19 additions and 0 deletions

19
Dockerfile Normal file
View File

@ -0,0 +1,19 @@
FROM python:3.10.0-alpine3.15
WORKDIR /usr/src/app
COPY requirements.txt ./
# OS requirements for building wheel and for operating uncloud
RUN apk update && apk add \
openldap-dev \
postgresql-dev \
libxml2-dev \
libxslt-dev \
gcc \
git \
python3-dev \
musl-dev \
wireguard-tools-wg
RUN pip install --no-cache-dir -r requirements.txt
COPY . .