2021-12-05 10:11:34 +00:00
|
|
|
FROM python:3.10.0
|
2021-12-05 09:07:14 +00:00
|
|
|
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
|
|
|
|
COPY requirements.txt ./
|
|
|
|
# OS requirements for building wheel and for operating uncloud
|
2021-12-05 10:11:34 +00:00
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
|
git \
|
|
|
|
libldap-dev \
|
2021-12-05 09:07:14 +00:00
|
|
|
libxml2-dev \
|
|
|
|
libxslt-dev \
|
2021-12-05 10:11:34 +00:00
|
|
|
libpq-dev \
|
|
|
|
wireguard-tools
|
2021-12-05 09:07:14 +00:00
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
|
|
|
COPY . .
|