From 71fce1242e901658f4194b09cbc387ab2b56e850 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 5 Dec 2021 10:07:14 +0100 Subject: [PATCH] Add initial Dockerfile --- Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..dcac071 --- /dev/null +++ b/Dockerfile @@ -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 . .